// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/*!
 * @file perception_msgs.cpp
 * This source file contains the definition of the described types in the IDL file.
 *
 * This file was generated by the tool gen.
 */

#ifdef _WIN32
// Remove linker warning LNK4221 on Visual Studio
namespace {
char dummy;
}  // namespace
#endif  // _WIN32

#include "perception_msgs.h"
#include <fastcdr/Cdr.h>

#include <fastcdr/exceptions/BadParamException.h>
using namespace eprosima::fastcdr::exception;

#include <utility>

DDS_PathPoint::DDS_PathPoint()
{
    // m_point_x com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3d51f06e
    m_point_x = 0;
    // m_point_y com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7ed7259e
    m_point_y = 0;
    // m_altitude com.eprosima.idl.parser.typecode.PrimitiveTypeCode@28eaa59a
    m_altitude = 0;
    // m_distance com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3427b02d
    m_distance = 0;
    // m_slope com.eprosima.idl.parser.typecode.PrimitiveTypeCode@647e447
    m_slope = 0;
    // m_curvature com.eprosima.idl.parser.typecode.PrimitiveTypeCode@41fbdac4
    m_curvature = 0;

}

DDS_PathPoint::~DDS_PathPoint()
{






}

DDS_PathPoint::DDS_PathPoint(
        const DDS_PathPoint& x)
{
    m_point_x = x.m_point_x;
    m_point_y = x.m_point_y;
    m_altitude = x.m_altitude;
    m_distance = x.m_distance;
    m_slope = x.m_slope;
    m_curvature = x.m_curvature;
}

DDS_PathPoint::DDS_PathPoint(
        DDS_PathPoint&& x)
{
    m_point_x = x.m_point_x;
    m_point_y = x.m_point_y;
    m_altitude = x.m_altitude;
    m_distance = x.m_distance;
    m_slope = x.m_slope;
    m_curvature = x.m_curvature;
}

DDS_PathPoint& DDS_PathPoint::operator =(
        const DDS_PathPoint& x)
{

    m_point_x = x.m_point_x;
    m_point_y = x.m_point_y;
    m_altitude = x.m_altitude;
    m_distance = x.m_distance;
    m_slope = x.m_slope;
    m_curvature = x.m_curvature;

    return *this;
}

DDS_PathPoint& DDS_PathPoint::operator =(
        DDS_PathPoint&& x)
{

    m_point_x = x.m_point_x;
    m_point_y = x.m_point_y;
    m_altitude = x.m_altitude;
    m_distance = x.m_distance;
    m_slope = x.m_slope;
    m_curvature = x.m_curvature;

    return *this;
}

size_t DDS_PathPoint::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

size_t DDS_PathPoint::getCdrSerializedSize(
        const DDS_PathPoint& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

void DDS_PathPoint::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_point_x;
    scdr << m_point_y;
    scdr << m_altitude;
    scdr << m_distance;
    scdr << m_slope;
    scdr << m_curvature;

}

void DDS_PathPoint::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_point_x;
    dcdr >> m_point_y;
    dcdr >> m_altitude;
    dcdr >> m_distance;
    dcdr >> m_slope;
    dcdr >> m_curvature;
}

/*!
 * @brief This function sets a value in member point_x
 * @param _point_x New value for member point_x
 */
void DDS_PathPoint::point_x(
        float _point_x)
{
    m_point_x = _point_x;
}

/*!
 * @brief This function returns the value of member point_x
 * @return Value of member point_x
 */
float DDS_PathPoint::point_x() const
{
    return m_point_x;
}

/*!
 * @brief This function returns a reference to member point_x
 * @return Reference to member point_x
 */
float& DDS_PathPoint::point_x()
{
    return m_point_x;
}

/*!
 * @brief This function sets a value in member point_y
 * @param _point_y New value for member point_y
 */
void DDS_PathPoint::point_y(
        float _point_y)
{
    m_point_y = _point_y;
}

/*!
 * @brief This function returns the value of member point_y
 * @return Value of member point_y
 */
float DDS_PathPoint::point_y() const
{
    return m_point_y;
}

/*!
 * @brief This function returns a reference to member point_y
 * @return Reference to member point_y
 */
float& DDS_PathPoint::point_y()
{
    return m_point_y;
}

/*!
 * @brief This function sets a value in member altitude
 * @param _altitude New value for member altitude
 */
void DDS_PathPoint::altitude(
        float _altitude)
{
    m_altitude = _altitude;
}

/*!
 * @brief This function returns the value of member altitude
 * @return Value of member altitude
 */
float DDS_PathPoint::altitude() const
{
    return m_altitude;
}

/*!
 * @brief This function returns a reference to member altitude
 * @return Reference to member altitude
 */
float& DDS_PathPoint::altitude()
{
    return m_altitude;
}

/*!
 * @brief This function sets a value in member distance
 * @param _distance New value for member distance
 */
void DDS_PathPoint::distance(
        float _distance)
{
    m_distance = _distance;
}

/*!
 * @brief This function returns the value of member distance
 * @return Value of member distance
 */
float DDS_PathPoint::distance() const
{
    return m_distance;
}

/*!
 * @brief This function returns a reference to member distance
 * @return Reference to member distance
 */
float& DDS_PathPoint::distance()
{
    return m_distance;
}

/*!
 * @brief This function sets a value in member slope
 * @param _slope New value for member slope
 */
void DDS_PathPoint::slope(
        float _slope)
{
    m_slope = _slope;
}

/*!
 * @brief This function returns the value of member slope
 * @return Value of member slope
 */
float DDS_PathPoint::slope() const
{
    return m_slope;
}

/*!
 * @brief This function returns a reference to member slope
 * @return Reference to member slope
 */
float& DDS_PathPoint::slope()
{
    return m_slope;
}

/*!
 * @brief This function sets a value in member curvature
 * @param _curvature New value for member curvature
 */
void DDS_PathPoint::curvature(
        float _curvature)
{
    m_curvature = _curvature;
}

/*!
 * @brief This function returns the value of member curvature
 * @return Value of member curvature
 */
float DDS_PathPoint::curvature() const
{
    return m_curvature;
}

/*!
 * @brief This function returns a reference to member curvature
 * @return Reference to member curvature
 */
float& DDS_PathPoint::curvature()
{
    return m_curvature;
}


size_t DDS_PathPoint::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;









    return current_align;
}

bool DDS_PathPoint::isKeyDefined()
{
    return false;
}

void DDS_PathPoint::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
          
}

DDS_PathPoints::DDS_PathPoints()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@15ff3e9e
    m_stamp = 0;
    // m_objects com.eprosima.idl.parser.typecode.SequenceTypeCode@5fdcaa40


}

DDS_PathPoints::~DDS_PathPoints()
{


}

DDS_PathPoints::DDS_PathPoints(
        const DDS_PathPoints& x)
{
    m_stamp = x.m_stamp;
    m_objects = x.m_objects;
}

DDS_PathPoints::DDS_PathPoints(
        DDS_PathPoints&& x)
{
    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);
}

DDS_PathPoints& DDS_PathPoints::operator =(
        const DDS_PathPoints& x)
{

    m_stamp = x.m_stamp;
    m_objects = x.m_objects;

    return *this;
}

DDS_PathPoints& DDS_PathPoints::operator =(
        DDS_PathPoints&& x)
{

    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);

    return *this;
}

size_t DDS_PathPoints::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < 200; ++a)
    {
        current_alignment += DDS_PathPoint::getMaxCdrSerializedSize(current_alignment);}


    return current_alignment - initial_alignment;
}

size_t DDS_PathPoints::getCdrSerializedSize(
        const DDS_PathPoints& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < data.objects().size(); ++a)
    {
        current_alignment += DDS_PathPoint::getCdrSerializedSize(data.objects().at(a), current_alignment);}


    return current_alignment - initial_alignment;
}

void DDS_PathPoints::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_objects;

}

void DDS_PathPoints::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_objects;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_PathPoints::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_PathPoints::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_PathPoints::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member objects
 * @param _objects New value to be copied in member objects
 */
void DDS_PathPoints::objects(
        const std::vector<DDS_PathPoint>& _objects)
{
    m_objects = _objects;
}

/*!
 * @brief This function moves the value in member objects
 * @param _objects New value to be moved in member objects
 */
void DDS_PathPoints::objects(
        std::vector<DDS_PathPoint>&& _objects)
{
    m_objects = std::move(_objects);
}

/*!
 * @brief This function returns a constant reference to member objects
 * @return Constant reference to member objects
 */
const std::vector<DDS_PathPoint>& DDS_PathPoints::objects() const
{
    return m_objects;
}

/*!
 * @brief This function returns a reference to member objects
 * @return Reference to member objects
 */
std::vector<DDS_PathPoint>& DDS_PathPoints::objects()
{
    return m_objects;
}

size_t DDS_PathPoints::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_PathPoints::isKeyDefined()
{
    return false;
}

void DDS_PathPoints::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_RadarInfo::DDS_RadarInfo()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6e20b53a
    m_stamp = 0;
    // m_speed_direction com.eprosima.idl.parser.typecode.PrimitiveTypeCode@71809907
    m_speed_direction = 0;
    // m_speed com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3ce1e309
    m_speed = 0;
    // m_yaw_rate com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6aba2b86
    m_yaw_rate = 0;
    // m_id com.eprosima.idl.parser.typecode.PrimitiveTypeCode@158da8e
    m_id = 0;
    // m_dist_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@74e52303
    m_dist_long = 0;
    // m_dist_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@47af7f3d
    m_dist_lat = 0;
    // m_vrel_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7c729a55
    m_vrel_long = 0;
    // m_vrel_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3bb9a3ff
    m_vrel_lat = 0;
    // m_dyn_prop com.eprosima.idl.parser.typecode.PrimitiveTypeCode@323b36e0
    m_dyn_prop = 0;
    // m_rcs com.eprosima.idl.parser.typecode.PrimitiveTypeCode@44ebcd03
    m_rcs = 0;
    // m_dist_long_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@694abbdc
    m_dist_long_rms = 0;
    // m_dist_lat_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@2e005c4b
    m_dist_lat_rms = 0;
    // m_vrel_long_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4567f35d
    m_vrel_long_rms = 0;
    // m_vrel_lat_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5ffead27
    m_vrel_lat_rms = 0;
    // m_arel_lat_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6356695f
    m_arel_lat_rms = 0;
    // m_arel_long_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4f18837a
    m_arel_long_rms = 0;
    // m_orientation_rms com.eprosima.idl.parser.typecode.PrimitiveTypeCode@359f7cdf
    m_orientation_rms = 0;
    // m_meas_state com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1fa268de
    m_meas_state = 0;
    // m_prob_of_exit com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4f6ee6e4
    m_prob_of_exit = 0;
    // m_arel_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4466af20
    m_arel_long = 0;
    // m_arel_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@a514af7
    m_arel_lat = 0;
    // m_object_class com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6b927fb
    m_object_class = 0;
    // m_orientation_angle com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3e58a80e
    m_orientation_angle = 0;
    // m_length com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4fb61f4a
    m_length = 0;
    // m_width com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4fb0f2b9
    m_width = 0;

}

DDS_RadarInfo::~DDS_RadarInfo()
{


























}

DDS_RadarInfo::DDS_RadarInfo(
        const DDS_RadarInfo& x)
{
    m_stamp = x.m_stamp;
    m_speed_direction = x.m_speed_direction;
    m_speed = x.m_speed;
    m_yaw_rate = x.m_yaw_rate;
    m_id = x.m_id;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
    m_vrel_long = x.m_vrel_long;
    m_vrel_lat = x.m_vrel_lat;
    m_dyn_prop = x.m_dyn_prop;
    m_rcs = x.m_rcs;
    m_dist_long_rms = x.m_dist_long_rms;
    m_dist_lat_rms = x.m_dist_lat_rms;
    m_vrel_long_rms = x.m_vrel_long_rms;
    m_vrel_lat_rms = x.m_vrel_lat_rms;
    m_arel_lat_rms = x.m_arel_lat_rms;
    m_arel_long_rms = x.m_arel_long_rms;
    m_orientation_rms = x.m_orientation_rms;
    m_meas_state = x.m_meas_state;
    m_prob_of_exit = x.m_prob_of_exit;
    m_arel_long = x.m_arel_long;
    m_arel_lat = x.m_arel_lat;
    m_object_class = x.m_object_class;
    m_orientation_angle = x.m_orientation_angle;
    m_length = x.m_length;
    m_width = x.m_width;
}

DDS_RadarInfo::DDS_RadarInfo(
        DDS_RadarInfo&& x)
{
    m_stamp = x.m_stamp;
    m_speed_direction = x.m_speed_direction;
    m_speed = x.m_speed;
    m_yaw_rate = x.m_yaw_rate;
    m_id = x.m_id;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
    m_vrel_long = x.m_vrel_long;
    m_vrel_lat = x.m_vrel_lat;
    m_dyn_prop = x.m_dyn_prop;
    m_rcs = x.m_rcs;
    m_dist_long_rms = x.m_dist_long_rms;
    m_dist_lat_rms = x.m_dist_lat_rms;
    m_vrel_long_rms = x.m_vrel_long_rms;
    m_vrel_lat_rms = x.m_vrel_lat_rms;
    m_arel_lat_rms = x.m_arel_lat_rms;
    m_arel_long_rms = x.m_arel_long_rms;
    m_orientation_rms = x.m_orientation_rms;
    m_meas_state = x.m_meas_state;
    m_prob_of_exit = x.m_prob_of_exit;
    m_arel_long = x.m_arel_long;
    m_arel_lat = x.m_arel_lat;
    m_object_class = x.m_object_class;
    m_orientation_angle = x.m_orientation_angle;
    m_length = x.m_length;
    m_width = x.m_width;
}

DDS_RadarInfo& DDS_RadarInfo::operator =(
        const DDS_RadarInfo& x)
{

    m_stamp = x.m_stamp;
    m_speed_direction = x.m_speed_direction;
    m_speed = x.m_speed;
    m_yaw_rate = x.m_yaw_rate;
    m_id = x.m_id;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
    m_vrel_long = x.m_vrel_long;
    m_vrel_lat = x.m_vrel_lat;
    m_dyn_prop = x.m_dyn_prop;
    m_rcs = x.m_rcs;
    m_dist_long_rms = x.m_dist_long_rms;
    m_dist_lat_rms = x.m_dist_lat_rms;
    m_vrel_long_rms = x.m_vrel_long_rms;
    m_vrel_lat_rms = x.m_vrel_lat_rms;
    m_arel_lat_rms = x.m_arel_lat_rms;
    m_arel_long_rms = x.m_arel_long_rms;
    m_orientation_rms = x.m_orientation_rms;
    m_meas_state = x.m_meas_state;
    m_prob_of_exit = x.m_prob_of_exit;
    m_arel_long = x.m_arel_long;
    m_arel_lat = x.m_arel_lat;
    m_object_class = x.m_object_class;
    m_orientation_angle = x.m_orientation_angle;
    m_length = x.m_length;
    m_width = x.m_width;

    return *this;
}

DDS_RadarInfo& DDS_RadarInfo::operator =(
        DDS_RadarInfo&& x)
{

    m_stamp = x.m_stamp;
    m_speed_direction = x.m_speed_direction;
    m_speed = x.m_speed;
    m_yaw_rate = x.m_yaw_rate;
    m_id = x.m_id;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
    m_vrel_long = x.m_vrel_long;
    m_vrel_lat = x.m_vrel_lat;
    m_dyn_prop = x.m_dyn_prop;
    m_rcs = x.m_rcs;
    m_dist_long_rms = x.m_dist_long_rms;
    m_dist_lat_rms = x.m_dist_lat_rms;
    m_vrel_long_rms = x.m_vrel_long_rms;
    m_vrel_lat_rms = x.m_vrel_lat_rms;
    m_arel_lat_rms = x.m_arel_lat_rms;
    m_arel_long_rms = x.m_arel_long_rms;
    m_orientation_rms = x.m_orientation_rms;
    m_meas_state = x.m_meas_state;
    m_prob_of_exit = x.m_prob_of_exit;
    m_arel_long = x.m_arel_long;
    m_arel_lat = x.m_arel_lat;
    m_object_class = x.m_object_class;
    m_orientation_angle = x.m_orientation_angle;
    m_length = x.m_length;
    m_width = x.m_width;

    return *this;
}

size_t DDS_RadarInfo::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

size_t DDS_RadarInfo::getCdrSerializedSize(
        const DDS_RadarInfo& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

void DDS_RadarInfo::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_speed_direction;
    scdr << m_speed;
    scdr << m_yaw_rate;
    scdr << m_id;
    scdr << m_dist_long;
    scdr << m_dist_lat;
    scdr << m_vrel_long;
    scdr << m_vrel_lat;
    scdr << m_dyn_prop;
    scdr << m_rcs;
    scdr << m_dist_long_rms;
    scdr << m_dist_lat_rms;
    scdr << m_vrel_long_rms;
    scdr << m_vrel_lat_rms;
    scdr << m_arel_lat_rms;
    scdr << m_arel_long_rms;
    scdr << m_orientation_rms;
    scdr << m_meas_state;
    scdr << m_prob_of_exit;
    scdr << m_arel_long;
    scdr << m_arel_lat;
    scdr << m_object_class;
    scdr << m_orientation_angle;
    scdr << m_length;
    scdr << m_width;

}

void DDS_RadarInfo::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_speed_direction;
    dcdr >> m_speed;
    dcdr >> m_yaw_rate;
    dcdr >> m_id;
    dcdr >> m_dist_long;
    dcdr >> m_dist_lat;
    dcdr >> m_vrel_long;
    dcdr >> m_vrel_lat;
    dcdr >> m_dyn_prop;
    dcdr >> m_rcs;
    dcdr >> m_dist_long_rms;
    dcdr >> m_dist_lat_rms;
    dcdr >> m_vrel_long_rms;
    dcdr >> m_vrel_lat_rms;
    dcdr >> m_arel_lat_rms;
    dcdr >> m_arel_long_rms;
    dcdr >> m_orientation_rms;
    dcdr >> m_meas_state;
    dcdr >> m_prob_of_exit;
    dcdr >> m_arel_long;
    dcdr >> m_arel_lat;
    dcdr >> m_object_class;
    dcdr >> m_orientation_angle;
    dcdr >> m_length;
    dcdr >> m_width;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_RadarInfo::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_RadarInfo::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_RadarInfo::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function sets a value in member speed_direction
 * @param _speed_direction New value for member speed_direction
 */
void DDS_RadarInfo::speed_direction(
        int32_t _speed_direction)
{
    m_speed_direction = _speed_direction;
}

/*!
 * @brief This function returns the value of member speed_direction
 * @return Value of member speed_direction
 */
int32_t DDS_RadarInfo::speed_direction() const
{
    return m_speed_direction;
}

/*!
 * @brief This function returns a reference to member speed_direction
 * @return Reference to member speed_direction
 */
int32_t& DDS_RadarInfo::speed_direction()
{
    return m_speed_direction;
}

/*!
 * @brief This function sets a value in member speed
 * @param _speed New value for member speed
 */
void DDS_RadarInfo::speed(
        float _speed)
{
    m_speed = _speed;
}

/*!
 * @brief This function returns the value of member speed
 * @return Value of member speed
 */
float DDS_RadarInfo::speed() const
{
    return m_speed;
}

/*!
 * @brief This function returns a reference to member speed
 * @return Reference to member speed
 */
float& DDS_RadarInfo::speed()
{
    return m_speed;
}

/*!
 * @brief This function sets a value in member yaw_rate
 * @param _yaw_rate New value for member yaw_rate
 */
void DDS_RadarInfo::yaw_rate(
        float _yaw_rate)
{
    m_yaw_rate = _yaw_rate;
}

/*!
 * @brief This function returns the value of member yaw_rate
 * @return Value of member yaw_rate
 */
float DDS_RadarInfo::yaw_rate() const
{
    return m_yaw_rate;
}

/*!
 * @brief This function returns a reference to member yaw_rate
 * @return Reference to member yaw_rate
 */
float& DDS_RadarInfo::yaw_rate()
{
    return m_yaw_rate;
}

/*!
 * @brief This function sets a value in member id
 * @param _id New value for member id
 */
void DDS_RadarInfo::id(
        int32_t _id)
{
    m_id = _id;
}

/*!
 * @brief This function returns the value of member id
 * @return Value of member id
 */
int32_t DDS_RadarInfo::id() const
{
    return m_id;
}

/*!
 * @brief This function returns a reference to member id
 * @return Reference to member id
 */
int32_t& DDS_RadarInfo::id()
{
    return m_id;
}

/*!
 * @brief This function sets a value in member dist_long
 * @param _dist_long New value for member dist_long
 */
void DDS_RadarInfo::dist_long(
        float _dist_long)
{
    m_dist_long = _dist_long;
}

/*!
 * @brief This function returns the value of member dist_long
 * @return Value of member dist_long
 */
float DDS_RadarInfo::dist_long() const
{
    return m_dist_long;
}

/*!
 * @brief This function returns a reference to member dist_long
 * @return Reference to member dist_long
 */
float& DDS_RadarInfo::dist_long()
{
    return m_dist_long;
}

/*!
 * @brief This function sets a value in member dist_lat
 * @param _dist_lat New value for member dist_lat
 */
void DDS_RadarInfo::dist_lat(
        float _dist_lat)
{
    m_dist_lat = _dist_lat;
}

/*!
 * @brief This function returns the value of member dist_lat
 * @return Value of member dist_lat
 */
float DDS_RadarInfo::dist_lat() const
{
    return m_dist_lat;
}

/*!
 * @brief This function returns a reference to member dist_lat
 * @return Reference to member dist_lat
 */
float& DDS_RadarInfo::dist_lat()
{
    return m_dist_lat;
}

/*!
 * @brief This function sets a value in member vrel_long
 * @param _vrel_long New value for member vrel_long
 */
void DDS_RadarInfo::vrel_long(
        float _vrel_long)
{
    m_vrel_long = _vrel_long;
}

/*!
 * @brief This function returns the value of member vrel_long
 * @return Value of member vrel_long
 */
float DDS_RadarInfo::vrel_long() const
{
    return m_vrel_long;
}

/*!
 * @brief This function returns a reference to member vrel_long
 * @return Reference to member vrel_long
 */
float& DDS_RadarInfo::vrel_long()
{
    return m_vrel_long;
}

/*!
 * @brief This function sets a value in member vrel_lat
 * @param _vrel_lat New value for member vrel_lat
 */
void DDS_RadarInfo::vrel_lat(
        float _vrel_lat)
{
    m_vrel_lat = _vrel_lat;
}

/*!
 * @brief This function returns the value of member vrel_lat
 * @return Value of member vrel_lat
 */
float DDS_RadarInfo::vrel_lat() const
{
    return m_vrel_lat;
}

/*!
 * @brief This function returns a reference to member vrel_lat
 * @return Reference to member vrel_lat
 */
float& DDS_RadarInfo::vrel_lat()
{
    return m_vrel_lat;
}

/*!
 * @brief This function sets a value in member dyn_prop
 * @param _dyn_prop New value for member dyn_prop
 */
void DDS_RadarInfo::dyn_prop(
        int32_t _dyn_prop)
{
    m_dyn_prop = _dyn_prop;
}

/*!
 * @brief This function returns the value of member dyn_prop
 * @return Value of member dyn_prop
 */
int32_t DDS_RadarInfo::dyn_prop() const
{
    return m_dyn_prop;
}

/*!
 * @brief This function returns a reference to member dyn_prop
 * @return Reference to member dyn_prop
 */
int32_t& DDS_RadarInfo::dyn_prop()
{
    return m_dyn_prop;
}

/*!
 * @brief This function sets a value in member rcs
 * @param _rcs New value for member rcs
 */
void DDS_RadarInfo::rcs(
        float _rcs)
{
    m_rcs = _rcs;
}

/*!
 * @brief This function returns the value of member rcs
 * @return Value of member rcs
 */
float DDS_RadarInfo::rcs() const
{
    return m_rcs;
}

/*!
 * @brief This function returns a reference to member rcs
 * @return Reference to member rcs
 */
float& DDS_RadarInfo::rcs()
{
    return m_rcs;
}

/*!
 * @brief This function sets a value in member dist_long_rms
 * @param _dist_long_rms New value for member dist_long_rms
 */
void DDS_RadarInfo::dist_long_rms(
        int32_t _dist_long_rms)
{
    m_dist_long_rms = _dist_long_rms;
}

/*!
 * @brief This function returns the value of member dist_long_rms
 * @return Value of member dist_long_rms
 */
int32_t DDS_RadarInfo::dist_long_rms() const
{
    return m_dist_long_rms;
}

/*!
 * @brief This function returns a reference to member dist_long_rms
 * @return Reference to member dist_long_rms
 */
int32_t& DDS_RadarInfo::dist_long_rms()
{
    return m_dist_long_rms;
}

/*!
 * @brief This function sets a value in member dist_lat_rms
 * @param _dist_lat_rms New value for member dist_lat_rms
 */
void DDS_RadarInfo::dist_lat_rms(
        int32_t _dist_lat_rms)
{
    m_dist_lat_rms = _dist_lat_rms;
}

/*!
 * @brief This function returns the value of member dist_lat_rms
 * @return Value of member dist_lat_rms
 */
int32_t DDS_RadarInfo::dist_lat_rms() const
{
    return m_dist_lat_rms;
}

/*!
 * @brief This function returns a reference to member dist_lat_rms
 * @return Reference to member dist_lat_rms
 */
int32_t& DDS_RadarInfo::dist_lat_rms()
{
    return m_dist_lat_rms;
}

/*!
 * @brief This function sets a value in member vrel_long_rms
 * @param _vrel_long_rms New value for member vrel_long_rms
 */
void DDS_RadarInfo::vrel_long_rms(
        int32_t _vrel_long_rms)
{
    m_vrel_long_rms = _vrel_long_rms;
}

/*!
 * @brief This function returns the value of member vrel_long_rms
 * @return Value of member vrel_long_rms
 */
int32_t DDS_RadarInfo::vrel_long_rms() const
{
    return m_vrel_long_rms;
}

/*!
 * @brief This function returns a reference to member vrel_long_rms
 * @return Reference to member vrel_long_rms
 */
int32_t& DDS_RadarInfo::vrel_long_rms()
{
    return m_vrel_long_rms;
}

/*!
 * @brief This function sets a value in member vrel_lat_rms
 * @param _vrel_lat_rms New value for member vrel_lat_rms
 */
void DDS_RadarInfo::vrel_lat_rms(
        int32_t _vrel_lat_rms)
{
    m_vrel_lat_rms = _vrel_lat_rms;
}

/*!
 * @brief This function returns the value of member vrel_lat_rms
 * @return Value of member vrel_lat_rms
 */
int32_t DDS_RadarInfo::vrel_lat_rms() const
{
    return m_vrel_lat_rms;
}

/*!
 * @brief This function returns a reference to member vrel_lat_rms
 * @return Reference to member vrel_lat_rms
 */
int32_t& DDS_RadarInfo::vrel_lat_rms()
{
    return m_vrel_lat_rms;
}

/*!
 * @brief This function sets a value in member arel_lat_rms
 * @param _arel_lat_rms New value for member arel_lat_rms
 */
void DDS_RadarInfo::arel_lat_rms(
        int32_t _arel_lat_rms)
{
    m_arel_lat_rms = _arel_lat_rms;
}

/*!
 * @brief This function returns the value of member arel_lat_rms
 * @return Value of member arel_lat_rms
 */
int32_t DDS_RadarInfo::arel_lat_rms() const
{
    return m_arel_lat_rms;
}

/*!
 * @brief This function returns a reference to member arel_lat_rms
 * @return Reference to member arel_lat_rms
 */
int32_t& DDS_RadarInfo::arel_lat_rms()
{
    return m_arel_lat_rms;
}

/*!
 * @brief This function sets a value in member arel_long_rms
 * @param _arel_long_rms New value for member arel_long_rms
 */
void DDS_RadarInfo::arel_long_rms(
        int32_t _arel_long_rms)
{
    m_arel_long_rms = _arel_long_rms;
}

/*!
 * @brief This function returns the value of member arel_long_rms
 * @return Value of member arel_long_rms
 */
int32_t DDS_RadarInfo::arel_long_rms() const
{
    return m_arel_long_rms;
}

/*!
 * @brief This function returns a reference to member arel_long_rms
 * @return Reference to member arel_long_rms
 */
int32_t& DDS_RadarInfo::arel_long_rms()
{
    return m_arel_long_rms;
}

/*!
 * @brief This function sets a value in member orientation_rms
 * @param _orientation_rms New value for member orientation_rms
 */
void DDS_RadarInfo::orientation_rms(
        int32_t _orientation_rms)
{
    m_orientation_rms = _orientation_rms;
}

/*!
 * @brief This function returns the value of member orientation_rms
 * @return Value of member orientation_rms
 */
int32_t DDS_RadarInfo::orientation_rms() const
{
    return m_orientation_rms;
}

/*!
 * @brief This function returns a reference to member orientation_rms
 * @return Reference to member orientation_rms
 */
int32_t& DDS_RadarInfo::orientation_rms()
{
    return m_orientation_rms;
}

/*!
 * @brief This function sets a value in member meas_state
 * @param _meas_state New value for member meas_state
 */
void DDS_RadarInfo::meas_state(
        int32_t _meas_state)
{
    m_meas_state = _meas_state;
}

/*!
 * @brief This function returns the value of member meas_state
 * @return Value of member meas_state
 */
int32_t DDS_RadarInfo::meas_state() const
{
    return m_meas_state;
}

/*!
 * @brief This function returns a reference to member meas_state
 * @return Reference to member meas_state
 */
int32_t& DDS_RadarInfo::meas_state()
{
    return m_meas_state;
}

/*!
 * @brief This function sets a value in member prob_of_exit
 * @param _prob_of_exit New value for member prob_of_exit
 */
void DDS_RadarInfo::prob_of_exit(
        int32_t _prob_of_exit)
{
    m_prob_of_exit = _prob_of_exit;
}

/*!
 * @brief This function returns the value of member prob_of_exit
 * @return Value of member prob_of_exit
 */
int32_t DDS_RadarInfo::prob_of_exit() const
{
    return m_prob_of_exit;
}

/*!
 * @brief This function returns a reference to member prob_of_exit
 * @return Reference to member prob_of_exit
 */
int32_t& DDS_RadarInfo::prob_of_exit()
{
    return m_prob_of_exit;
}

/*!
 * @brief This function sets a value in member arel_long
 * @param _arel_long New value for member arel_long
 */
void DDS_RadarInfo::arel_long(
        float _arel_long)
{
    m_arel_long = _arel_long;
}

/*!
 * @brief This function returns the value of member arel_long
 * @return Value of member arel_long
 */
float DDS_RadarInfo::arel_long() const
{
    return m_arel_long;
}

/*!
 * @brief This function returns a reference to member arel_long
 * @return Reference to member arel_long
 */
float& DDS_RadarInfo::arel_long()
{
    return m_arel_long;
}

/*!
 * @brief This function sets a value in member arel_lat
 * @param _arel_lat New value for member arel_lat
 */
void DDS_RadarInfo::arel_lat(
        float _arel_lat)
{
    m_arel_lat = _arel_lat;
}

/*!
 * @brief This function returns the value of member arel_lat
 * @return Value of member arel_lat
 */
float DDS_RadarInfo::arel_lat() const
{
    return m_arel_lat;
}

/*!
 * @brief This function returns a reference to member arel_lat
 * @return Reference to member arel_lat
 */
float& DDS_RadarInfo::arel_lat()
{
    return m_arel_lat;
}

/*!
 * @brief This function sets a value in member object_class
 * @param _object_class New value for member object_class
 */
void DDS_RadarInfo::object_class(
        int32_t _object_class)
{
    m_object_class = _object_class;
}

/*!
 * @brief This function returns the value of member object_class
 * @return Value of member object_class
 */
int32_t DDS_RadarInfo::object_class() const
{
    return m_object_class;
}

/*!
 * @brief This function returns a reference to member object_class
 * @return Reference to member object_class
 */
int32_t& DDS_RadarInfo::object_class()
{
    return m_object_class;
}

/*!
 * @brief This function sets a value in member orientation_angle
 * @param _orientation_angle New value for member orientation_angle
 */
void DDS_RadarInfo::orientation_angle(
        float _orientation_angle)
{
    m_orientation_angle = _orientation_angle;
}

/*!
 * @brief This function returns the value of member orientation_angle
 * @return Value of member orientation_angle
 */
float DDS_RadarInfo::orientation_angle() const
{
    return m_orientation_angle;
}

/*!
 * @brief This function returns a reference to member orientation_angle
 * @return Reference to member orientation_angle
 */
float& DDS_RadarInfo::orientation_angle()
{
    return m_orientation_angle;
}

/*!
 * @brief This function sets a value in member length
 * @param _length New value for member length
 */
void DDS_RadarInfo::length(
        float _length)
{
    m_length = _length;
}

/*!
 * @brief This function returns the value of member length
 * @return Value of member length
 */
float DDS_RadarInfo::length() const
{
    return m_length;
}

/*!
 * @brief This function returns a reference to member length
 * @return Reference to member length
 */
float& DDS_RadarInfo::length()
{
    return m_length;
}

/*!
 * @brief This function sets a value in member width
 * @param _width New value for member width
 */
void DDS_RadarInfo::width(
        float _width)
{
    m_width = _width;
}

/*!
 * @brief This function returns the value of member width
 * @return Value of member width
 */
float DDS_RadarInfo::width() const
{
    return m_width;
}

/*!
 * @brief This function returns a reference to member width
 * @return Reference to member width
 */
float& DDS_RadarInfo::width()
{
    return m_width;
}


size_t DDS_RadarInfo::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





























    return current_align;
}

bool DDS_RadarInfo::isKeyDefined()
{
    return false;
}

void DDS_RadarInfo::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
                              
}

DDS_RadarInfos::DDS_RadarInfos()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@79924b
    m_stamp = 0;
    // m_objects com.eprosima.idl.parser.typecode.SequenceTypeCode@7b9a4292


}

DDS_RadarInfos::~DDS_RadarInfos()
{


}

DDS_RadarInfos::DDS_RadarInfos(
        const DDS_RadarInfos& x)
{
    m_stamp = x.m_stamp;
    m_objects = x.m_objects;
}

DDS_RadarInfos::DDS_RadarInfos(
        DDS_RadarInfos&& x)
{
    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);
}

DDS_RadarInfos& DDS_RadarInfos::operator =(
        const DDS_RadarInfos& x)
{

    m_stamp = x.m_stamp;
    m_objects = x.m_objects;

    return *this;
}

DDS_RadarInfos& DDS_RadarInfos::operator =(
        DDS_RadarInfos&& x)
{

    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);

    return *this;
}

size_t DDS_RadarInfos::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < 200; ++a)
    {
        current_alignment += DDS_RadarInfo::getMaxCdrSerializedSize(current_alignment);}


    return current_alignment - initial_alignment;
}

size_t DDS_RadarInfos::getCdrSerializedSize(
        const DDS_RadarInfos& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < data.objects().size(); ++a)
    {
        current_alignment += DDS_RadarInfo::getCdrSerializedSize(data.objects().at(a), current_alignment);}


    return current_alignment - initial_alignment;
}

void DDS_RadarInfos::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_objects;

}

void DDS_RadarInfos::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_objects;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_RadarInfos::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_RadarInfos::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_RadarInfos::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member objects
 * @param _objects New value to be copied in member objects
 */
void DDS_RadarInfos::objects(
        const std::vector<DDS_RadarInfo>& _objects)
{
    m_objects = _objects;
}

/*!
 * @brief This function moves the value in member objects
 * @param _objects New value to be moved in member objects
 */
void DDS_RadarInfos::objects(
        std::vector<DDS_RadarInfo>&& _objects)
{
    m_objects = std::move(_objects);
}

/*!
 * @brief This function returns a constant reference to member objects
 * @return Constant reference to member objects
 */
const std::vector<DDS_RadarInfo>& DDS_RadarInfos::objects() const
{
    return m_objects;
}

/*!
 * @brief This function returns a reference to member objects
 * @return Reference to member objects
 */
std::vector<DDS_RadarInfo>& DDS_RadarInfos::objects()
{
    return m_objects;
}

size_t DDS_RadarInfos::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_RadarInfos::isKeyDefined()
{
    return false;
}

void DDS_RadarInfos::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_Image::DDS_Image()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6379eb
    m_stamp = 0;
    // m_mat com.eprosima.idl.parser.typecode.ArrayTypeCode@294425a7
    memset(&m_mat, 0, (4147200) * 1);

}

DDS_Image::~DDS_Image()
{


}

DDS_Image::DDS_Image(
        const DDS_Image& x)
{
    m_stamp = x.m_stamp;
    m_mat = x.m_mat;
}

DDS_Image::DDS_Image(
        DDS_Image&& x)
{
    m_stamp = x.m_stamp;
    m_mat = std::move(x.m_mat);
}

DDS_Image& DDS_Image::operator =(
        const DDS_Image& x)
{

    m_stamp = x.m_stamp;
    m_mat = x.m_mat;

    return *this;
}

DDS_Image& DDS_Image::operator =(
        DDS_Image&& x)
{

    m_stamp = x.m_stamp;
    m_mat = std::move(x.m_mat);

    return *this;
}

size_t DDS_Image::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += ((4147200) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

size_t DDS_Image::getCdrSerializedSize(
        const DDS_Image& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    if ((4147200) > 0)
    {
        current_alignment += ((4147200) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);
    }


    return current_alignment - initial_alignment;
}

void DDS_Image::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_mat;


}

void DDS_Image::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_mat;

}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_Image::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_Image::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_Image::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member mat
 * @param _mat New value to be copied in member mat
 */
void DDS_Image::mat(
        const std::array<uint8_t, 4147200>& _mat)
{
    m_mat = _mat;
}

/*!
 * @brief This function moves the value in member mat
 * @param _mat New value to be moved in member mat
 */
void DDS_Image::mat(
        std::array<uint8_t, 4147200>&& _mat)
{
    m_mat = std::move(_mat);
}

/*!
 * @brief This function returns a constant reference to member mat
 * @return Constant reference to member mat
 */
const std::array<uint8_t, 4147200>& DDS_Image::mat() const
{
    return m_mat;
}

/*!
 * @brief This function returns a reference to member mat
 * @return Reference to member mat
 */
std::array<uint8_t, 4147200>& DDS_Image::mat()
{
    return m_mat;
}

size_t DDS_Image::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_Image::isKeyDefined()
{
    return false;
}

void DDS_Image::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_Image_Small::DDS_Image_Small()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@12468a38
    m_stamp = 0;
    // m_mat com.eprosima.idl.parser.typecode.ArrayTypeCode@1aa7ecca
    memset(&m_mat, 0, (921600) * 1);

}

DDS_Image_Small::~DDS_Image_Small()
{


}

DDS_Image_Small::DDS_Image_Small(
        const DDS_Image_Small& x)
{
    m_stamp = x.m_stamp;
    m_mat = x.m_mat;
}

DDS_Image_Small::DDS_Image_Small(
        DDS_Image_Small&& x)
{
    m_stamp = x.m_stamp;
    m_mat = std::move(x.m_mat);
}

DDS_Image_Small& DDS_Image_Small::operator =(
        const DDS_Image_Small& x)
{

    m_stamp = x.m_stamp;
    m_mat = x.m_mat;

    return *this;
}

DDS_Image_Small& DDS_Image_Small::operator =(
        DDS_Image_Small&& x)
{

    m_stamp = x.m_stamp;
    m_mat = std::move(x.m_mat);

    return *this;
}

size_t DDS_Image_Small::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += ((921600) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

size_t DDS_Image_Small::getCdrSerializedSize(
        const DDS_Image_Small& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    if ((921600) > 0)
    {
        current_alignment += ((921600) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);
    }


    return current_alignment - initial_alignment;
}

void DDS_Image_Small::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_mat;


}

void DDS_Image_Small::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_mat;

}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_Image_Small::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_Image_Small::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_Image_Small::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member mat
 * @param _mat New value to be copied in member mat
 */
void DDS_Image_Small::mat(
        const std::array<uint8_t, 921600>& _mat)
{
    m_mat = _mat;
}

/*!
 * @brief This function moves the value in member mat
 * @param _mat New value to be moved in member mat
 */
void DDS_Image_Small::mat(
        std::array<uint8_t, 921600>&& _mat)
{
    m_mat = std::move(_mat);
}

/*!
 * @brief This function returns a constant reference to member mat
 * @return Constant reference to member mat
 */
const std::array<uint8_t, 921600>& DDS_Image_Small::mat() const
{
    return m_mat;
}

/*!
 * @brief This function returns a reference to member mat
 * @return Reference to member mat
 */
std::array<uint8_t, 921600>& DDS_Image_Small::mat()
{
    return m_mat;
}

size_t DDS_Image_Small::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_Image_Small::isKeyDefined()
{
    return false;
}

void DDS_Image_Small::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_RadarState::DDS_RadarState()
{
    // m_radarstate_nvm_readstate com.eprosima.idl.parser.typecode.PrimitiveTypeCode@59309333
    m_radarstate_nvm_readstate = false;
    // m_radarstate_nvm_writestate com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5876a9af
    m_radarstate_nvm_writestate = false;
    // m_radarstate_persistent_error com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7ec7ffd3
    m_radarstate_persistent_error = false;
    // m_radarstate_longerference com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5b239d7d
    m_radarstate_longerference = false;
    // m_radarstate_temperature_error com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6572421
    m_radarstate_temperature_error = false;
    // m_radarstate_voltage_error com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6b81ce95
    m_radarstate_voltage_error = false;
    // m_radarstate_motion_rx_state com.eprosima.idl.parser.typecode.PrimitiveTypeCode@2a798d51
    m_radarstate_motion_rx_state = 0;
    // m_radarstate_temporary_error com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6d763516
    m_radarstate_temporary_error = false;

}

DDS_RadarState::~DDS_RadarState()
{








}

DDS_RadarState::DDS_RadarState(
        const DDS_RadarState& x)
{
    m_radarstate_nvm_readstate = x.m_radarstate_nvm_readstate;
    m_radarstate_nvm_writestate = x.m_radarstate_nvm_writestate;
    m_radarstate_persistent_error = x.m_radarstate_persistent_error;
    m_radarstate_longerference = x.m_radarstate_longerference;
    m_radarstate_temperature_error = x.m_radarstate_temperature_error;
    m_radarstate_voltage_error = x.m_radarstate_voltage_error;
    m_radarstate_motion_rx_state = x.m_radarstate_motion_rx_state;
    m_radarstate_temporary_error = x.m_radarstate_temporary_error;
}

DDS_RadarState::DDS_RadarState(
        DDS_RadarState&& x)
{
    m_radarstate_nvm_readstate = x.m_radarstate_nvm_readstate;
    m_radarstate_nvm_writestate = x.m_radarstate_nvm_writestate;
    m_radarstate_persistent_error = x.m_radarstate_persistent_error;
    m_radarstate_longerference = x.m_radarstate_longerference;
    m_radarstate_temperature_error = x.m_radarstate_temperature_error;
    m_radarstate_voltage_error = x.m_radarstate_voltage_error;
    m_radarstate_motion_rx_state = x.m_radarstate_motion_rx_state;
    m_radarstate_temporary_error = x.m_radarstate_temporary_error;
}

DDS_RadarState& DDS_RadarState::operator =(
        const DDS_RadarState& x)
{

    m_radarstate_nvm_readstate = x.m_radarstate_nvm_readstate;
    m_radarstate_nvm_writestate = x.m_radarstate_nvm_writestate;
    m_radarstate_persistent_error = x.m_radarstate_persistent_error;
    m_radarstate_longerference = x.m_radarstate_longerference;
    m_radarstate_temperature_error = x.m_radarstate_temperature_error;
    m_radarstate_voltage_error = x.m_radarstate_voltage_error;
    m_radarstate_motion_rx_state = x.m_radarstate_motion_rx_state;
    m_radarstate_temporary_error = x.m_radarstate_temporary_error;

    return *this;
}

DDS_RadarState& DDS_RadarState::operator =(
        DDS_RadarState&& x)
{

    m_radarstate_nvm_readstate = x.m_radarstate_nvm_readstate;
    m_radarstate_nvm_writestate = x.m_radarstate_nvm_writestate;
    m_radarstate_persistent_error = x.m_radarstate_persistent_error;
    m_radarstate_longerference = x.m_radarstate_longerference;
    m_radarstate_temperature_error = x.m_radarstate_temperature_error;
    m_radarstate_voltage_error = x.m_radarstate_voltage_error;
    m_radarstate_motion_rx_state = x.m_radarstate_motion_rx_state;
    m_radarstate_temporary_error = x.m_radarstate_temporary_error;

    return *this;
}

size_t DDS_RadarState::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

size_t DDS_RadarState::getCdrSerializedSize(
        const DDS_RadarState& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

void DDS_RadarState::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_radarstate_nvm_readstate;
    scdr << m_radarstate_nvm_writestate;
    scdr << m_radarstate_persistent_error;
    scdr << m_radarstate_longerference;
    scdr << m_radarstate_temperature_error;
    scdr << m_radarstate_voltage_error;
    scdr << m_radarstate_motion_rx_state;
    scdr << m_radarstate_temporary_error;

}

void DDS_RadarState::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_radarstate_nvm_readstate;
    dcdr >> m_radarstate_nvm_writestate;
    dcdr >> m_radarstate_persistent_error;
    dcdr >> m_radarstate_longerference;
    dcdr >> m_radarstate_temperature_error;
    dcdr >> m_radarstate_voltage_error;
    dcdr >> m_radarstate_motion_rx_state;
    dcdr >> m_radarstate_temporary_error;
}

/*!
 * @brief This function sets a value in member radarstate_nvm_readstate
 * @param _radarstate_nvm_readstate New value for member radarstate_nvm_readstate
 */
void DDS_RadarState::radarstate_nvm_readstate(
        bool _radarstate_nvm_readstate)
{
    m_radarstate_nvm_readstate = _radarstate_nvm_readstate;
}

/*!
 * @brief This function returns the value of member radarstate_nvm_readstate
 * @return Value of member radarstate_nvm_readstate
 */
bool DDS_RadarState::radarstate_nvm_readstate() const
{
    return m_radarstate_nvm_readstate;
}

/*!
 * @brief This function returns a reference to member radarstate_nvm_readstate
 * @return Reference to member radarstate_nvm_readstate
 */
bool& DDS_RadarState::radarstate_nvm_readstate()
{
    return m_radarstate_nvm_readstate;
}

/*!
 * @brief This function sets a value in member radarstate_nvm_writestate
 * @param _radarstate_nvm_writestate New value for member radarstate_nvm_writestate
 */
void DDS_RadarState::radarstate_nvm_writestate(
        bool _radarstate_nvm_writestate)
{
    m_radarstate_nvm_writestate = _radarstate_nvm_writestate;
}

/*!
 * @brief This function returns the value of member radarstate_nvm_writestate
 * @return Value of member radarstate_nvm_writestate
 */
bool DDS_RadarState::radarstate_nvm_writestate() const
{
    return m_radarstate_nvm_writestate;
}

/*!
 * @brief This function returns a reference to member radarstate_nvm_writestate
 * @return Reference to member radarstate_nvm_writestate
 */
bool& DDS_RadarState::radarstate_nvm_writestate()
{
    return m_radarstate_nvm_writestate;
}

/*!
 * @brief This function sets a value in member radarstate_persistent_error
 * @param _radarstate_persistent_error New value for member radarstate_persistent_error
 */
void DDS_RadarState::radarstate_persistent_error(
        bool _radarstate_persistent_error)
{
    m_radarstate_persistent_error = _radarstate_persistent_error;
}

/*!
 * @brief This function returns the value of member radarstate_persistent_error
 * @return Value of member radarstate_persistent_error
 */
bool DDS_RadarState::radarstate_persistent_error() const
{
    return m_radarstate_persistent_error;
}

/*!
 * @brief This function returns a reference to member radarstate_persistent_error
 * @return Reference to member radarstate_persistent_error
 */
bool& DDS_RadarState::radarstate_persistent_error()
{
    return m_radarstate_persistent_error;
}

/*!
 * @brief This function sets a value in member radarstate_longerference
 * @param _radarstate_longerference New value for member radarstate_longerference
 */
void DDS_RadarState::radarstate_longerference(
        bool _radarstate_longerference)
{
    m_radarstate_longerference = _radarstate_longerference;
}

/*!
 * @brief This function returns the value of member radarstate_longerference
 * @return Value of member radarstate_longerference
 */
bool DDS_RadarState::radarstate_longerference() const
{
    return m_radarstate_longerference;
}

/*!
 * @brief This function returns a reference to member radarstate_longerference
 * @return Reference to member radarstate_longerference
 */
bool& DDS_RadarState::radarstate_longerference()
{
    return m_radarstate_longerference;
}

/*!
 * @brief This function sets a value in member radarstate_temperature_error
 * @param _radarstate_temperature_error New value for member radarstate_temperature_error
 */
void DDS_RadarState::radarstate_temperature_error(
        bool _radarstate_temperature_error)
{
    m_radarstate_temperature_error = _radarstate_temperature_error;
}

/*!
 * @brief This function returns the value of member radarstate_temperature_error
 * @return Value of member radarstate_temperature_error
 */
bool DDS_RadarState::radarstate_temperature_error() const
{
    return m_radarstate_temperature_error;
}

/*!
 * @brief This function returns a reference to member radarstate_temperature_error
 * @return Reference to member radarstate_temperature_error
 */
bool& DDS_RadarState::radarstate_temperature_error()
{
    return m_radarstate_temperature_error;
}

/*!
 * @brief This function sets a value in member radarstate_voltage_error
 * @param _radarstate_voltage_error New value for member radarstate_voltage_error
 */
void DDS_RadarState::radarstate_voltage_error(
        bool _radarstate_voltage_error)
{
    m_radarstate_voltage_error = _radarstate_voltage_error;
}

/*!
 * @brief This function returns the value of member radarstate_voltage_error
 * @return Value of member radarstate_voltage_error
 */
bool DDS_RadarState::radarstate_voltage_error() const
{
    return m_radarstate_voltage_error;
}

/*!
 * @brief This function returns a reference to member radarstate_voltage_error
 * @return Reference to member radarstate_voltage_error
 */
bool& DDS_RadarState::radarstate_voltage_error()
{
    return m_radarstate_voltage_error;
}

/*!
 * @brief This function sets a value in member radarstate_motion_rx_state
 * @param _radarstate_motion_rx_state New value for member radarstate_motion_rx_state
 */
void DDS_RadarState::radarstate_motion_rx_state(
        int32_t _radarstate_motion_rx_state)
{
    m_radarstate_motion_rx_state = _radarstate_motion_rx_state;
}

/*!
 * @brief This function returns the value of member radarstate_motion_rx_state
 * @return Value of member radarstate_motion_rx_state
 */
int32_t DDS_RadarState::radarstate_motion_rx_state() const
{
    return m_radarstate_motion_rx_state;
}

/*!
 * @brief This function returns a reference to member radarstate_motion_rx_state
 * @return Reference to member radarstate_motion_rx_state
 */
int32_t& DDS_RadarState::radarstate_motion_rx_state()
{
    return m_radarstate_motion_rx_state;
}

/*!
 * @brief This function sets a value in member radarstate_temporary_error
 * @param _radarstate_temporary_error New value for member radarstate_temporary_error
 */
void DDS_RadarState::radarstate_temporary_error(
        bool _radarstate_temporary_error)
{
    m_radarstate_temporary_error = _radarstate_temporary_error;
}

/*!
 * @brief This function returns the value of member radarstate_temporary_error
 * @return Value of member radarstate_temporary_error
 */
bool DDS_RadarState::radarstate_temporary_error() const
{
    return m_radarstate_temporary_error;
}

/*!
 * @brief This function returns a reference to member radarstate_temporary_error
 * @return Reference to member radarstate_temporary_error
 */
bool& DDS_RadarState::radarstate_temporary_error()
{
    return m_radarstate_temporary_error;
}


size_t DDS_RadarState::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;











    return current_align;
}

bool DDS_RadarState::isKeyDefined()
{
    return false;
}

void DDS_RadarState::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
            
}

DDS_AlgorithmInfo::DDS_AlgorithmInfo()
{
    // m_range com.eprosima.idl.parser.typecode.PrimitiveTypeCode@52bf72b5
    m_range = 0;
    // m_angle com.eprosima.idl.parser.typecode.PrimitiveTypeCode@37afeb11
    m_angle = 0;
    // m_vrel com.eprosima.idl.parser.typecode.PrimitiveTypeCode@515aebb0
    m_vrel = 0;
    // m_fuse_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@dd8ba08
    m_fuse_num = 0;
    // m_radar_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@245b4bdc
    m_radar_num = 0;
    // m_frame_associate_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6c64cb25
    m_frame_associate_num = 0;
    // m_track_cnt_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6ae5aa72
    m_track_cnt_ = 0;
    // m_lost_cnt_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@222545dc
    m_lost_cnt_ = 0;
    // m_tracker_id_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5c5eefef
    m_tracker_id_ = 0;
    // m_P_ com.eprosima.idl.parser.typecode.ArrayTypeCode@16293aa2
    memset(&m_P_, 0, (16) * 4);

}

DDS_AlgorithmInfo::~DDS_AlgorithmInfo()
{










}

DDS_AlgorithmInfo::DDS_AlgorithmInfo(
        const DDS_AlgorithmInfo& x)
{
    m_range = x.m_range;
    m_angle = x.m_angle;
    m_vrel = x.m_vrel;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_tracker_id_ = x.m_tracker_id_;
    m_P_ = x.m_P_;
}

DDS_AlgorithmInfo::DDS_AlgorithmInfo(
        DDS_AlgorithmInfo&& x)
{
    m_range = x.m_range;
    m_angle = x.m_angle;
    m_vrel = x.m_vrel;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_tracker_id_ = x.m_tracker_id_;
    m_P_ = std::move(x.m_P_);
}

DDS_AlgorithmInfo& DDS_AlgorithmInfo::operator =(
        const DDS_AlgorithmInfo& x)
{

    m_range = x.m_range;
    m_angle = x.m_angle;
    m_vrel = x.m_vrel;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_tracker_id_ = x.m_tracker_id_;
    m_P_ = x.m_P_;

    return *this;
}

DDS_AlgorithmInfo& DDS_AlgorithmInfo::operator =(
        DDS_AlgorithmInfo&& x)
{

    m_range = x.m_range;
    m_angle = x.m_angle;
    m_vrel = x.m_vrel;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_tracker_id_ = x.m_tracker_id_;
    m_P_ = std::move(x.m_P_);

    return *this;
}

size_t DDS_AlgorithmInfo::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += ((16) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

size_t DDS_AlgorithmInfo::getCdrSerializedSize(
        const DDS_AlgorithmInfo& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    if ((16) > 0)
    {
        current_alignment += ((16) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
    }


    return current_alignment - initial_alignment;
}

void DDS_AlgorithmInfo::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_range;
    scdr << m_angle;
    scdr << m_vrel;
    scdr << m_fuse_num;
    scdr << m_radar_num;
    scdr << m_frame_associate_num;
    scdr << m_track_cnt_;
    scdr << m_lost_cnt_;
    scdr << m_tracker_id_;
    scdr << m_P_;


}

void DDS_AlgorithmInfo::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_range;
    dcdr >> m_angle;
    dcdr >> m_vrel;
    dcdr >> m_fuse_num;
    dcdr >> m_radar_num;
    dcdr >> m_frame_associate_num;
    dcdr >> m_track_cnt_;
    dcdr >> m_lost_cnt_;
    dcdr >> m_tracker_id_;
    dcdr >> m_P_;

}

/*!
 * @brief This function sets a value in member range
 * @param _range New value for member range
 */
void DDS_AlgorithmInfo::range(
        float _range)
{
    m_range = _range;
}

/*!
 * @brief This function returns the value of member range
 * @return Value of member range
 */
float DDS_AlgorithmInfo::range() const
{
    return m_range;
}

/*!
 * @brief This function returns a reference to member range
 * @return Reference to member range
 */
float& DDS_AlgorithmInfo::range()
{
    return m_range;
}

/*!
 * @brief This function sets a value in member angle
 * @param _angle New value for member angle
 */
void DDS_AlgorithmInfo::angle(
        float _angle)
{
    m_angle = _angle;
}

/*!
 * @brief This function returns the value of member angle
 * @return Value of member angle
 */
float DDS_AlgorithmInfo::angle() const
{
    return m_angle;
}

/*!
 * @brief This function returns a reference to member angle
 * @return Reference to member angle
 */
float& DDS_AlgorithmInfo::angle()
{
    return m_angle;
}

/*!
 * @brief This function sets a value in member vrel
 * @param _vrel New value for member vrel
 */
void DDS_AlgorithmInfo::vrel(
        float _vrel)
{
    m_vrel = _vrel;
}

/*!
 * @brief This function returns the value of member vrel
 * @return Value of member vrel
 */
float DDS_AlgorithmInfo::vrel() const
{
    return m_vrel;
}

/*!
 * @brief This function returns a reference to member vrel
 * @return Reference to member vrel
 */
float& DDS_AlgorithmInfo::vrel()
{
    return m_vrel;
}

/*!
 * @brief This function sets a value in member fuse_num
 * @param _fuse_num New value for member fuse_num
 */
void DDS_AlgorithmInfo::fuse_num(
        int32_t _fuse_num)
{
    m_fuse_num = _fuse_num;
}

/*!
 * @brief This function returns the value of member fuse_num
 * @return Value of member fuse_num
 */
int32_t DDS_AlgorithmInfo::fuse_num() const
{
    return m_fuse_num;
}

/*!
 * @brief This function returns a reference to member fuse_num
 * @return Reference to member fuse_num
 */
int32_t& DDS_AlgorithmInfo::fuse_num()
{
    return m_fuse_num;
}

/*!
 * @brief This function sets a value in member radar_num
 * @param _radar_num New value for member radar_num
 */
void DDS_AlgorithmInfo::radar_num(
        int32_t _radar_num)
{
    m_radar_num = _radar_num;
}

/*!
 * @brief This function returns the value of member radar_num
 * @return Value of member radar_num
 */
int32_t DDS_AlgorithmInfo::radar_num() const
{
    return m_radar_num;
}

/*!
 * @brief This function returns a reference to member radar_num
 * @return Reference to member radar_num
 */
int32_t& DDS_AlgorithmInfo::radar_num()
{
    return m_radar_num;
}

/*!
 * @brief This function sets a value in member frame_associate_num
 * @param _frame_associate_num New value for member frame_associate_num
 */
void DDS_AlgorithmInfo::frame_associate_num(
        int32_t _frame_associate_num)
{
    m_frame_associate_num = _frame_associate_num;
}

/*!
 * @brief This function returns the value of member frame_associate_num
 * @return Value of member frame_associate_num
 */
int32_t DDS_AlgorithmInfo::frame_associate_num() const
{
    return m_frame_associate_num;
}

/*!
 * @brief This function returns a reference to member frame_associate_num
 * @return Reference to member frame_associate_num
 */
int32_t& DDS_AlgorithmInfo::frame_associate_num()
{
    return m_frame_associate_num;
}

/*!
 * @brief This function sets a value in member track_cnt_
 * @param _track_cnt_ New value for member track_cnt_
 */
void DDS_AlgorithmInfo::track_cnt_(
        int32_t _track_cnt_)
{
    m_track_cnt_ = _track_cnt_;
}

/*!
 * @brief This function returns the value of member track_cnt_
 * @return Value of member track_cnt_
 */
int32_t DDS_AlgorithmInfo::track_cnt_() const
{
    return m_track_cnt_;
}

/*!
 * @brief This function returns a reference to member track_cnt_
 * @return Reference to member track_cnt_
 */
int32_t& DDS_AlgorithmInfo::track_cnt_()
{
    return m_track_cnt_;
}

/*!
 * @brief This function sets a value in member lost_cnt_
 * @param _lost_cnt_ New value for member lost_cnt_
 */
void DDS_AlgorithmInfo::lost_cnt_(
        float _lost_cnt_)
{
    m_lost_cnt_ = _lost_cnt_;
}

/*!
 * @brief This function returns the value of member lost_cnt_
 * @return Value of member lost_cnt_
 */
float DDS_AlgorithmInfo::lost_cnt_() const
{
    return m_lost_cnt_;
}

/*!
 * @brief This function returns a reference to member lost_cnt_
 * @return Reference to member lost_cnt_
 */
float& DDS_AlgorithmInfo::lost_cnt_()
{
    return m_lost_cnt_;
}

/*!
 * @brief This function sets a value in member tracker_id_
 * @param _tracker_id_ New value for member tracker_id_
 */
void DDS_AlgorithmInfo::tracker_id_(
        int32_t _tracker_id_)
{
    m_tracker_id_ = _tracker_id_;
}

/*!
 * @brief This function returns the value of member tracker_id_
 * @return Value of member tracker_id_
 */
int32_t DDS_AlgorithmInfo::tracker_id_() const
{
    return m_tracker_id_;
}

/*!
 * @brief This function returns a reference to member tracker_id_
 * @return Reference to member tracker_id_
 */
int32_t& DDS_AlgorithmInfo::tracker_id_()
{
    return m_tracker_id_;
}

/*!
 * @brief This function copies the value in member P_
 * @param _P_ New value to be copied in member P_
 */
void DDS_AlgorithmInfo::P_(
        const std::array<float, 16>& _P_)
{
    m_P_ = _P_;
}

/*!
 * @brief This function moves the value in member P_
 * @param _P_ New value to be moved in member P_
 */
void DDS_AlgorithmInfo::P_(
        std::array<float, 16>&& _P_)
{
    m_P_ = std::move(_P_);
}

/*!
 * @brief This function returns a constant reference to member P_
 * @return Constant reference to member P_
 */
const std::array<float, 16>& DDS_AlgorithmInfo::P_() const
{
    return m_P_;
}

/*!
 * @brief This function returns a reference to member P_
 * @return Reference to member P_
 */
std::array<float, 16>& DDS_AlgorithmInfo::P_()
{
    return m_P_;
}

size_t DDS_AlgorithmInfo::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;













    return current_align;
}

bool DDS_AlgorithmInfo::isKeyDefined()
{
    return false;
}

void DDS_AlgorithmInfo::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
              
}

DDS_RadarObject::DDS_RadarObject()
{
    // m_radar_info com.eprosima.fastdds.idl.parser.typecode.StructTypeCode@399f45b1

    // m_alg_info com.eprosima.fastdds.idl.parser.typecode.StructTypeCode@38c6f217


}

DDS_RadarObject::~DDS_RadarObject()
{


}

DDS_RadarObject::DDS_RadarObject(
        const DDS_RadarObject& x)
{
    m_radar_info = x.m_radar_info;
    m_alg_info = x.m_alg_info;
}

DDS_RadarObject::DDS_RadarObject(
        DDS_RadarObject&& x)
{
    m_radar_info = std::move(x.m_radar_info);
    m_alg_info = std::move(x.m_alg_info);
}

DDS_RadarObject& DDS_RadarObject::operator =(
        const DDS_RadarObject& x)
{

    m_radar_info = x.m_radar_info;
    m_alg_info = x.m_alg_info;

    return *this;
}

DDS_RadarObject& DDS_RadarObject::operator =(
        DDS_RadarObject&& x)
{

    m_radar_info = std::move(x.m_radar_info);
    m_alg_info = std::move(x.m_alg_info);

    return *this;
}

size_t DDS_RadarObject::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += DDS_RadarInfo::getMaxCdrSerializedSize(current_alignment);
    current_alignment += DDS_AlgorithmInfo::getMaxCdrSerializedSize(current_alignment);

    return current_alignment - initial_alignment;
}

size_t DDS_RadarObject::getCdrSerializedSize(
        const DDS_RadarObject& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += DDS_RadarInfo::getCdrSerializedSize(data.radar_info(), current_alignment);
    current_alignment += DDS_AlgorithmInfo::getCdrSerializedSize(data.alg_info(), current_alignment);

    return current_alignment - initial_alignment;
}

void DDS_RadarObject::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_radar_info;
    scdr << m_alg_info;

}

void DDS_RadarObject::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_radar_info;
    dcdr >> m_alg_info;
}

/*!
 * @brief This function copies the value in member radar_info
 * @param _radar_info New value to be copied in member radar_info
 */
void DDS_RadarObject::radar_info(
        const DDS_RadarInfo& _radar_info)
{
    m_radar_info = _radar_info;
}

/*!
 * @brief This function moves the value in member radar_info
 * @param _radar_info New value to be moved in member radar_info
 */
void DDS_RadarObject::radar_info(
        DDS_RadarInfo&& _radar_info)
{
    m_radar_info = std::move(_radar_info);
}

/*!
 * @brief This function returns a constant reference to member radar_info
 * @return Constant reference to member radar_info
 */
const DDS_RadarInfo& DDS_RadarObject::radar_info() const
{
    return m_radar_info;
}

/*!
 * @brief This function returns a reference to member radar_info
 * @return Reference to member radar_info
 */
DDS_RadarInfo& DDS_RadarObject::radar_info()
{
    return m_radar_info;
}
/*!
 * @brief This function copies the value in member alg_info
 * @param _alg_info New value to be copied in member alg_info
 */
void DDS_RadarObject::alg_info(
        const DDS_AlgorithmInfo& _alg_info)
{
    m_alg_info = _alg_info;
}

/*!
 * @brief This function moves the value in member alg_info
 * @param _alg_info New value to be moved in member alg_info
 */
void DDS_RadarObject::alg_info(
        DDS_AlgorithmInfo&& _alg_info)
{
    m_alg_info = std::move(_alg_info);
}

/*!
 * @brief This function returns a constant reference to member alg_info
 * @return Constant reference to member alg_info
 */
const DDS_AlgorithmInfo& DDS_RadarObject::alg_info() const
{
    return m_alg_info;
}

/*!
 * @brief This function returns a reference to member alg_info
 * @return Reference to member alg_info
 */
DDS_AlgorithmInfo& DDS_RadarObject::alg_info()
{
    return m_alg_info;
}

size_t DDS_RadarObject::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_RadarObject::isKeyDefined()
{
    return false;
}

void DDS_RadarObject::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_RadarObjects::DDS_RadarObjects()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@478190fc
    m_stamp = 0;
    // m_objects com.eprosima.idl.parser.typecode.SequenceTypeCode@79e2c065


}

DDS_RadarObjects::~DDS_RadarObjects()
{


}

DDS_RadarObjects::DDS_RadarObjects(
        const DDS_RadarObjects& x)
{
    m_stamp = x.m_stamp;
    m_objects = x.m_objects;
}

DDS_RadarObjects::DDS_RadarObjects(
        DDS_RadarObjects&& x)
{
    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);
}

DDS_RadarObjects& DDS_RadarObjects::operator =(
        const DDS_RadarObjects& x)
{

    m_stamp = x.m_stamp;
    m_objects = x.m_objects;

    return *this;
}

DDS_RadarObjects& DDS_RadarObjects::operator =(
        DDS_RadarObjects&& x)
{

    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);

    return *this;
}

size_t DDS_RadarObjects::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < 200; ++a)
    {
        current_alignment += DDS_RadarObject::getMaxCdrSerializedSize(current_alignment);}


    return current_alignment - initial_alignment;
}

size_t DDS_RadarObjects::getCdrSerializedSize(
        const DDS_RadarObjects& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < data.objects().size(); ++a)
    {
        current_alignment += DDS_RadarObject::getCdrSerializedSize(data.objects().at(a), current_alignment);}


    return current_alignment - initial_alignment;
}

void DDS_RadarObjects::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_objects;

}

void DDS_RadarObjects::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_objects;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_RadarObjects::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_RadarObjects::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_RadarObjects::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member objects
 * @param _objects New value to be copied in member objects
 */
void DDS_RadarObjects::objects(
        const std::vector<DDS_RadarObject>& _objects)
{
    m_objects = _objects;
}

/*!
 * @brief This function moves the value in member objects
 * @param _objects New value to be moved in member objects
 */
void DDS_RadarObjects::objects(
        std::vector<DDS_RadarObject>&& _objects)
{
    m_objects = std::move(_objects);
}

/*!
 * @brief This function returns a constant reference to member objects
 * @return Constant reference to member objects
 */
const std::vector<DDS_RadarObject>& DDS_RadarObjects::objects() const
{
    return m_objects;
}

/*!
 * @brief This function returns a reference to member objects
 * @return Reference to member objects
 */
std::vector<DDS_RadarObject>& DDS_RadarObjects::objects()
{
    return m_objects;
}

size_t DDS_RadarObjects::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_RadarObjects::isKeyDefined()
{
    return false;
}

void DDS_RadarObjects::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_Object::DDS_Object()
{
    // m_seq com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3a93b025
    m_seq = 0;
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@35cabb2a
    m_stamp = 0;
    // m_tracker_id_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7e07db1f
    m_tracker_id_ = 0;
    // m_object_type com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1189dd52
    m_object_type = 0;
    // m_confidence com.eprosima.idl.parser.typecode.PrimitiveTypeCode@36bc55de
    m_confidence = 0;
    // m_center com.eprosima.idl.parser.typecode.ArrayTypeCode@564fabc8
    memset(&m_center, 0, (3) * 4);
    // m_length com.eprosima.idl.parser.typecode.PrimitiveTypeCode@16d04d3d
    m_length = 0;
    // m_width com.eprosima.idl.parser.typecode.PrimitiveTypeCode@49ec71f8
    m_width = 0;
    // m_height com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1d2adfbe
    m_height = 0;
    // m_direction com.eprosima.idl.parser.typecode.ArrayTypeCode@36902638
    memset(&m_direction, 0, (4) * 4);
    // m_theta com.eprosima.idl.parser.typecode.PrimitiveTypeCode@223d2c72
    m_theta = 0;
    // m_min com.eprosima.idl.parser.typecode.ArrayTypeCode@8f4ea7c
    memset(&m_min, 0, (3) * 4);
    // m_max com.eprosima.idl.parser.typecode.ArrayTypeCode@436813f3
    memset(&m_max, 0, (3) * 4);
    // m_vrel_y com.eprosima.idl.parser.typecode.PrimitiveTypeCode@74fe5c40
    m_vrel_y = 0;
    // m_vrel_x com.eprosima.idl.parser.typecode.PrimitiveTypeCode@3febb011
    m_vrel_x = 0;
    // m_vrel_width_y com.eprosima.idl.parser.typecode.PrimitiveTypeCode@10e31a9a
    m_vrel_width_y = 0;
    // m_vrel_height_x com.eprosima.idl.parser.typecode.PrimitiveTypeCode@131774fe
    m_vrel_height_x = 0;
    // m_velocity com.eprosima.idl.parser.typecode.PrimitiveTypeCode@158d2680
    m_velocity = 0;
    // m_fuse_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@77847718
    m_fuse_num = 0;
    // m_radar_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7f3b84b8
    m_radar_num = 0;
    // m_frame_associate_num com.eprosima.idl.parser.typecode.PrimitiveTypeCode@57a3af25
    m_frame_associate_num = 0;
    // m_vrel_width com.eprosima.idl.parser.typecode.PrimitiveTypeCode@2b662a77
    m_vrel_width = 0;
    // m_vrel_height com.eprosima.idl.parser.typecode.PrimitiveTypeCode@7f0eb4b4
    m_vrel_height = 0;
    // m_track_cnt_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5c33f1a9
    m_track_cnt_ = 0;
    // m_lost_cnt_ com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1623b78d
    m_lost_cnt_ = 0;
    // m_dist_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@c8c12ac
    m_dist_long = 0;
    // m_dist_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6adbc9d
    m_dist_lat = 0;

}

DDS_Object::~DDS_Object()
{



























}

DDS_Object::DDS_Object(
        const DDS_Object& x)
{
    m_seq = x.m_seq;
    m_stamp = x.m_stamp;
    m_tracker_id_ = x.m_tracker_id_;
    m_object_type = x.m_object_type;
    m_confidence = x.m_confidence;
    m_center = x.m_center;
    m_length = x.m_length;
    m_width = x.m_width;
    m_height = x.m_height;
    m_direction = x.m_direction;
    m_theta = x.m_theta;
    m_min = x.m_min;
    m_max = x.m_max;
    m_vrel_y = x.m_vrel_y;
    m_vrel_x = x.m_vrel_x;
    m_vrel_width_y = x.m_vrel_width_y;
    m_vrel_height_x = x.m_vrel_height_x;
    m_velocity = x.m_velocity;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_vrel_width = x.m_vrel_width;
    m_vrel_height = x.m_vrel_height;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
}

DDS_Object::DDS_Object(
        DDS_Object&& x)
{
    m_seq = x.m_seq;
    m_stamp = x.m_stamp;
    m_tracker_id_ = x.m_tracker_id_;
    m_object_type = x.m_object_type;
    m_confidence = x.m_confidence;
    m_center = std::move(x.m_center);
    m_length = x.m_length;
    m_width = x.m_width;
    m_height = x.m_height;
    m_direction = std::move(x.m_direction);
    m_theta = x.m_theta;
    m_min = std::move(x.m_min);
    m_max = std::move(x.m_max);
    m_vrel_y = x.m_vrel_y;
    m_vrel_x = x.m_vrel_x;
    m_vrel_width_y = x.m_vrel_width_y;
    m_vrel_height_x = x.m_vrel_height_x;
    m_velocity = x.m_velocity;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_vrel_width = x.m_vrel_width;
    m_vrel_height = x.m_vrel_height;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;
}

DDS_Object& DDS_Object::operator =(
        const DDS_Object& x)
{

    m_seq = x.m_seq;
    m_stamp = x.m_stamp;
    m_tracker_id_ = x.m_tracker_id_;
    m_object_type = x.m_object_type;
    m_confidence = x.m_confidence;
    m_center = x.m_center;
    m_length = x.m_length;
    m_width = x.m_width;
    m_height = x.m_height;
    m_direction = x.m_direction;
    m_theta = x.m_theta;
    m_min = x.m_min;
    m_max = x.m_max;
    m_vrel_y = x.m_vrel_y;
    m_vrel_x = x.m_vrel_x;
    m_vrel_width_y = x.m_vrel_width_y;
    m_vrel_height_x = x.m_vrel_height_x;
    m_velocity = x.m_velocity;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_vrel_width = x.m_vrel_width;
    m_vrel_height = x.m_vrel_height;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;

    return *this;
}

DDS_Object& DDS_Object::operator =(
        DDS_Object&& x)
{

    m_seq = x.m_seq;
    m_stamp = x.m_stamp;
    m_tracker_id_ = x.m_tracker_id_;
    m_object_type = x.m_object_type;
    m_confidence = x.m_confidence;
    m_center = std::move(x.m_center);
    m_length = x.m_length;
    m_width = x.m_width;
    m_height = x.m_height;
    m_direction = std::move(x.m_direction);
    m_theta = x.m_theta;
    m_min = std::move(x.m_min);
    m_max = std::move(x.m_max);
    m_vrel_y = x.m_vrel_y;
    m_vrel_x = x.m_vrel_x;
    m_vrel_width_y = x.m_vrel_width_y;
    m_vrel_height_x = x.m_vrel_height_x;
    m_velocity = x.m_velocity;
    m_fuse_num = x.m_fuse_num;
    m_radar_num = x.m_radar_num;
    m_frame_associate_num = x.m_frame_associate_num;
    m_vrel_width = x.m_vrel_width;
    m_vrel_height = x.m_vrel_height;
    m_track_cnt_ = x.m_track_cnt_;
    m_lost_cnt_ = x.m_lost_cnt_;
    m_dist_long = x.m_dist_long;
    m_dist_lat = x.m_dist_lat;

    return *this;
}

size_t DDS_Object::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += ((4) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

size_t DDS_Object::getCdrSerializedSize(
        const DDS_Object& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    if ((3) > 0)
    {
        current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
    }

    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    if ((4) > 0)
    {
        current_alignment += ((4) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
    }

    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    if ((3) > 0)
    {
        current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
    }

    if ((3) > 0)
    {
        current_alignment += ((3) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);
    }

    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

void DDS_Object::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_seq;
    scdr << m_stamp;
    scdr << m_tracker_id_;
    scdr << m_object_type;
    scdr << m_confidence;
    scdr << m_center;

    scdr << m_length;
    scdr << m_width;
    scdr << m_height;
    scdr << m_direction;

    scdr << m_theta;
    scdr << m_min;

    scdr << m_max;

    scdr << m_vrel_y;
    scdr << m_vrel_x;
    scdr << m_vrel_width_y;
    scdr << m_vrel_height_x;
    scdr << m_velocity;
    scdr << m_fuse_num;
    scdr << m_radar_num;
    scdr << m_frame_associate_num;
    scdr << m_vrel_width;
    scdr << m_vrel_height;
    scdr << m_track_cnt_;
    scdr << m_lost_cnt_;
    scdr << m_dist_long;
    scdr << m_dist_lat;

}

void DDS_Object::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_seq;
    dcdr >> m_stamp;
    dcdr >> m_tracker_id_;
    dcdr >> m_object_type;
    dcdr >> m_confidence;
    dcdr >> m_center;

    dcdr >> m_length;
    dcdr >> m_width;
    dcdr >> m_height;
    dcdr >> m_direction;

    dcdr >> m_theta;
    dcdr >> m_min;

    dcdr >> m_max;

    dcdr >> m_vrel_y;
    dcdr >> m_vrel_x;
    dcdr >> m_vrel_width_y;
    dcdr >> m_vrel_height_x;
    dcdr >> m_velocity;
    dcdr >> m_fuse_num;
    dcdr >> m_radar_num;
    dcdr >> m_frame_associate_num;
    dcdr >> m_vrel_width;
    dcdr >> m_vrel_height;
    dcdr >> m_track_cnt_;
    dcdr >> m_lost_cnt_;
    dcdr >> m_dist_long;
    dcdr >> m_dist_lat;
}

/*!
 * @brief This function sets a value in member seq
 * @param _seq New value for member seq
 */
void DDS_Object::seq(
        int32_t _seq)
{
    m_seq = _seq;
}

/*!
 * @brief This function returns the value of member seq
 * @return Value of member seq
 */
int32_t DDS_Object::seq() const
{
    return m_seq;
}

/*!
 * @brief This function returns a reference to member seq
 * @return Reference to member seq
 */
int32_t& DDS_Object::seq()
{
    return m_seq;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_Object::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_Object::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_Object::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function sets a value in member tracker_id_
 * @param _tracker_id_ New value for member tracker_id_
 */
void DDS_Object::tracker_id_(
        int32_t _tracker_id_)
{
    m_tracker_id_ = _tracker_id_;
}

/*!
 * @brief This function returns the value of member tracker_id_
 * @return Value of member tracker_id_
 */
int32_t DDS_Object::tracker_id_() const
{
    return m_tracker_id_;
}

/*!
 * @brief This function returns a reference to member tracker_id_
 * @return Reference to member tracker_id_
 */
int32_t& DDS_Object::tracker_id_()
{
    return m_tracker_id_;
}

/*!
 * @brief This function sets a value in member object_type
 * @param _object_type New value for member object_type
 */
void DDS_Object::object_type(
        int32_t _object_type)
{
    m_object_type = _object_type;
}

/*!
 * @brief This function returns the value of member object_type
 * @return Value of member object_type
 */
int32_t DDS_Object::object_type() const
{
    return m_object_type;
}

/*!
 * @brief This function returns a reference to member object_type
 * @return Reference to member object_type
 */
int32_t& DDS_Object::object_type()
{
    return m_object_type;
}

/*!
 * @brief This function sets a value in member confidence
 * @param _confidence New value for member confidence
 */
void DDS_Object::confidence(
        float _confidence)
{
    m_confidence = _confidence;
}

/*!
 * @brief This function returns the value of member confidence
 * @return Value of member confidence
 */
float DDS_Object::confidence() const
{
    return m_confidence;
}

/*!
 * @brief This function returns a reference to member confidence
 * @return Reference to member confidence
 */
float& DDS_Object::confidence()
{
    return m_confidence;
}

/*!
 * @brief This function copies the value in member center
 * @param _center New value to be copied in member center
 */
void DDS_Object::center(
        const std::array<float, 3>& _center)
{
    m_center = _center;
}

/*!
 * @brief This function moves the value in member center
 * @param _center New value to be moved in member center
 */
void DDS_Object::center(
        std::array<float, 3>&& _center)
{
    m_center = std::move(_center);
}

/*!
 * @brief This function returns a constant reference to member center
 * @return Constant reference to member center
 */
const std::array<float, 3>& DDS_Object::center() const
{
    return m_center;
}

/*!
 * @brief This function returns a reference to member center
 * @return Reference to member center
 */
std::array<float, 3>& DDS_Object::center()
{
    return m_center;
}
/*!
 * @brief This function sets a value in member length
 * @param _length New value for member length
 */
void DDS_Object::length(
        float _length)
{
    m_length = _length;
}

/*!
 * @brief This function returns the value of member length
 * @return Value of member length
 */
float DDS_Object::length() const
{
    return m_length;
}

/*!
 * @brief This function returns a reference to member length
 * @return Reference to member length
 */
float& DDS_Object::length()
{
    return m_length;
}

/*!
 * @brief This function sets a value in member width
 * @param _width New value for member width
 */
void DDS_Object::width(
        float _width)
{
    m_width = _width;
}

/*!
 * @brief This function returns the value of member width
 * @return Value of member width
 */
float DDS_Object::width() const
{
    return m_width;
}

/*!
 * @brief This function returns a reference to member width
 * @return Reference to member width
 */
float& DDS_Object::width()
{
    return m_width;
}

/*!
 * @brief This function sets a value in member height
 * @param _height New value for member height
 */
void DDS_Object::height(
        float _height)
{
    m_height = _height;
}

/*!
 * @brief This function returns the value of member height
 * @return Value of member height
 */
float DDS_Object::height() const
{
    return m_height;
}

/*!
 * @brief This function returns a reference to member height
 * @return Reference to member height
 */
float& DDS_Object::height()
{
    return m_height;
}

/*!
 * @brief This function copies the value in member direction
 * @param _direction New value to be copied in member direction
 */
void DDS_Object::direction(
        const std::array<float, 4>& _direction)
{
    m_direction = _direction;
}

/*!
 * @brief This function moves the value in member direction
 * @param _direction New value to be moved in member direction
 */
void DDS_Object::direction(
        std::array<float, 4>&& _direction)
{
    m_direction = std::move(_direction);
}

/*!
 * @brief This function returns a constant reference to member direction
 * @return Constant reference to member direction
 */
const std::array<float, 4>& DDS_Object::direction() const
{
    return m_direction;
}

/*!
 * @brief This function returns a reference to member direction
 * @return Reference to member direction
 */
std::array<float, 4>& DDS_Object::direction()
{
    return m_direction;
}
/*!
 * @brief This function sets a value in member theta
 * @param _theta New value for member theta
 */
void DDS_Object::theta(
        float _theta)
{
    m_theta = _theta;
}

/*!
 * @brief This function returns the value of member theta
 * @return Value of member theta
 */
float DDS_Object::theta() const
{
    return m_theta;
}

/*!
 * @brief This function returns a reference to member theta
 * @return Reference to member theta
 */
float& DDS_Object::theta()
{
    return m_theta;
}

/*!
 * @brief This function copies the value in member min
 * @param _min New value to be copied in member min
 */
void DDS_Object::min(
        const std::array<float, 3>& _min)
{
    m_min = _min;
}

/*!
 * @brief This function moves the value in member min
 * @param _min New value to be moved in member min
 */
void DDS_Object::min(
        std::array<float, 3>&& _min)
{
    m_min = std::move(_min);
}

/*!
 * @brief This function returns a constant reference to member min
 * @return Constant reference to member min
 */
const std::array<float, 3>& DDS_Object::min() const
{
    return m_min;
}

/*!
 * @brief This function returns a reference to member min
 * @return Reference to member min
 */
std::array<float, 3>& DDS_Object::min()
{
    return m_min;
}
/*!
 * @brief This function copies the value in member max
 * @param _max New value to be copied in member max
 */
void DDS_Object::max(
        const std::array<float, 3>& _max)
{
    m_max = _max;
}

/*!
 * @brief This function moves the value in member max
 * @param _max New value to be moved in member max
 */
void DDS_Object::max(
        std::array<float, 3>&& _max)
{
    m_max = std::move(_max);
}

/*!
 * @brief This function returns a constant reference to member max
 * @return Constant reference to member max
 */
const std::array<float, 3>& DDS_Object::max() const
{
    return m_max;
}

/*!
 * @brief This function returns a reference to member max
 * @return Reference to member max
 */
std::array<float, 3>& DDS_Object::max()
{
    return m_max;
}
/*!
 * @brief This function sets a value in member vrel_y
 * @param _vrel_y New value for member vrel_y
 */
void DDS_Object::vrel_y(
        float _vrel_y)
{
    m_vrel_y = _vrel_y;
}

/*!
 * @brief This function returns the value of member vrel_y
 * @return Value of member vrel_y
 */
float DDS_Object::vrel_y() const
{
    return m_vrel_y;
}

/*!
 * @brief This function returns a reference to member vrel_y
 * @return Reference to member vrel_y
 */
float& DDS_Object::vrel_y()
{
    return m_vrel_y;
}

/*!
 * @brief This function sets a value in member vrel_x
 * @param _vrel_x New value for member vrel_x
 */
void DDS_Object::vrel_x(
        float _vrel_x)
{
    m_vrel_x = _vrel_x;
}

/*!
 * @brief This function returns the value of member vrel_x
 * @return Value of member vrel_x
 */
float DDS_Object::vrel_x() const
{
    return m_vrel_x;
}

/*!
 * @brief This function returns a reference to member vrel_x
 * @return Reference to member vrel_x
 */
float& DDS_Object::vrel_x()
{
    return m_vrel_x;
}

/*!
 * @brief This function sets a value in member vrel_width_y
 * @param _vrel_width_y New value for member vrel_width_y
 */
void DDS_Object::vrel_width_y(
        float _vrel_width_y)
{
    m_vrel_width_y = _vrel_width_y;
}

/*!
 * @brief This function returns the value of member vrel_width_y
 * @return Value of member vrel_width_y
 */
float DDS_Object::vrel_width_y() const
{
    return m_vrel_width_y;
}

/*!
 * @brief This function returns a reference to member vrel_width_y
 * @return Reference to member vrel_width_y
 */
float& DDS_Object::vrel_width_y()
{
    return m_vrel_width_y;
}

/*!
 * @brief This function sets a value in member vrel_height_x
 * @param _vrel_height_x New value for member vrel_height_x
 */
void DDS_Object::vrel_height_x(
        float _vrel_height_x)
{
    m_vrel_height_x = _vrel_height_x;
}

/*!
 * @brief This function returns the value of member vrel_height_x
 * @return Value of member vrel_height_x
 */
float DDS_Object::vrel_height_x() const
{
    return m_vrel_height_x;
}

/*!
 * @brief This function returns a reference to member vrel_height_x
 * @return Reference to member vrel_height_x
 */
float& DDS_Object::vrel_height_x()
{
    return m_vrel_height_x;
}

/*!
 * @brief This function sets a value in member velocity
 * @param _velocity New value for member velocity
 */
void DDS_Object::velocity(
        float _velocity)
{
    m_velocity = _velocity;
}

/*!
 * @brief This function returns the value of member velocity
 * @return Value of member velocity
 */
float DDS_Object::velocity() const
{
    return m_velocity;
}

/*!
 * @brief This function returns a reference to member velocity
 * @return Reference to member velocity
 */
float& DDS_Object::velocity()
{
    return m_velocity;
}

/*!
 * @brief This function sets a value in member fuse_num
 * @param _fuse_num New value for member fuse_num
 */
void DDS_Object::fuse_num(
        int32_t _fuse_num)
{
    m_fuse_num = _fuse_num;
}

/*!
 * @brief This function returns the value of member fuse_num
 * @return Value of member fuse_num
 */
int32_t DDS_Object::fuse_num() const
{
    return m_fuse_num;
}

/*!
 * @brief This function returns a reference to member fuse_num
 * @return Reference to member fuse_num
 */
int32_t& DDS_Object::fuse_num()
{
    return m_fuse_num;
}

/*!
 * @brief This function sets a value in member radar_num
 * @param _radar_num New value for member radar_num
 */
void DDS_Object::radar_num(
        int32_t _radar_num)
{
    m_radar_num = _radar_num;
}

/*!
 * @brief This function returns the value of member radar_num
 * @return Value of member radar_num
 */
int32_t DDS_Object::radar_num() const
{
    return m_radar_num;
}

/*!
 * @brief This function returns a reference to member radar_num
 * @return Reference to member radar_num
 */
int32_t& DDS_Object::radar_num()
{
    return m_radar_num;
}

/*!
 * @brief This function sets a value in member frame_associate_num
 * @param _frame_associate_num New value for member frame_associate_num
 */
void DDS_Object::frame_associate_num(
        int32_t _frame_associate_num)
{
    m_frame_associate_num = _frame_associate_num;
}

/*!
 * @brief This function returns the value of member frame_associate_num
 * @return Value of member frame_associate_num
 */
int32_t DDS_Object::frame_associate_num() const
{
    return m_frame_associate_num;
}

/*!
 * @brief This function returns a reference to member frame_associate_num
 * @return Reference to member frame_associate_num
 */
int32_t& DDS_Object::frame_associate_num()
{
    return m_frame_associate_num;
}

/*!
 * @brief This function sets a value in member vrel_width
 * @param _vrel_width New value for member vrel_width
 */
void DDS_Object::vrel_width(
        float _vrel_width)
{
    m_vrel_width = _vrel_width;
}

/*!
 * @brief This function returns the value of member vrel_width
 * @return Value of member vrel_width
 */
float DDS_Object::vrel_width() const
{
    return m_vrel_width;
}

/*!
 * @brief This function returns a reference to member vrel_width
 * @return Reference to member vrel_width
 */
float& DDS_Object::vrel_width()
{
    return m_vrel_width;
}

/*!
 * @brief This function sets a value in member vrel_height
 * @param _vrel_height New value for member vrel_height
 */
void DDS_Object::vrel_height(
        float _vrel_height)
{
    m_vrel_height = _vrel_height;
}

/*!
 * @brief This function returns the value of member vrel_height
 * @return Value of member vrel_height
 */
float DDS_Object::vrel_height() const
{
    return m_vrel_height;
}

/*!
 * @brief This function returns a reference to member vrel_height
 * @return Reference to member vrel_height
 */
float& DDS_Object::vrel_height()
{
    return m_vrel_height;
}

/*!
 * @brief This function sets a value in member track_cnt_
 * @param _track_cnt_ New value for member track_cnt_
 */
void DDS_Object::track_cnt_(
        int32_t _track_cnt_)
{
    m_track_cnt_ = _track_cnt_;
}

/*!
 * @brief This function returns the value of member track_cnt_
 * @return Value of member track_cnt_
 */
int32_t DDS_Object::track_cnt_() const
{
    return m_track_cnt_;
}

/*!
 * @brief This function returns a reference to member track_cnt_
 * @return Reference to member track_cnt_
 */
int32_t& DDS_Object::track_cnt_()
{
    return m_track_cnt_;
}

/*!
 * @brief This function sets a value in member lost_cnt_
 * @param _lost_cnt_ New value for member lost_cnt_
 */
void DDS_Object::lost_cnt_(
        float _lost_cnt_)
{
    m_lost_cnt_ = _lost_cnt_;
}

/*!
 * @brief This function returns the value of member lost_cnt_
 * @return Value of member lost_cnt_
 */
float DDS_Object::lost_cnt_() const
{
    return m_lost_cnt_;
}

/*!
 * @brief This function returns a reference to member lost_cnt_
 * @return Reference to member lost_cnt_
 */
float& DDS_Object::lost_cnt_()
{
    return m_lost_cnt_;
}

/*!
 * @brief This function sets a value in member dist_long
 * @param _dist_long New value for member dist_long
 */
void DDS_Object::dist_long(
        float _dist_long)
{
    m_dist_long = _dist_long;
}

/*!
 * @brief This function returns the value of member dist_long
 * @return Value of member dist_long
 */
float DDS_Object::dist_long() const
{
    return m_dist_long;
}

/*!
 * @brief This function returns a reference to member dist_long
 * @return Reference to member dist_long
 */
float& DDS_Object::dist_long()
{
    return m_dist_long;
}

/*!
 * @brief This function sets a value in member dist_lat
 * @param _dist_lat New value for member dist_lat
 */
void DDS_Object::dist_lat(
        float _dist_lat)
{
    m_dist_lat = _dist_lat;
}

/*!
 * @brief This function returns the value of member dist_lat
 * @return Value of member dist_lat
 */
float DDS_Object::dist_lat() const
{
    return m_dist_lat;
}

/*!
 * @brief This function returns a reference to member dist_lat
 * @return Reference to member dist_lat
 */
float& DDS_Object::dist_lat()
{
    return m_dist_lat;
}


size_t DDS_Object::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;






























    return current_align;
}

bool DDS_Object::isKeyDefined()
{
    return false;
}

void DDS_Object::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
                               
}

DDS_Objects::DDS_Objects()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4550bb58
    m_stamp = 0;
    // m_objects com.eprosima.idl.parser.typecode.SequenceTypeCode@4ec4f3a0


}

DDS_Objects::~DDS_Objects()
{


}

DDS_Objects::DDS_Objects(
        const DDS_Objects& x)
{
    m_stamp = x.m_stamp;
    m_objects = x.m_objects;
}

DDS_Objects::DDS_Objects(
        DDS_Objects&& x)
{
    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);
}

DDS_Objects& DDS_Objects::operator =(
        const DDS_Objects& x)
{

    m_stamp = x.m_stamp;
    m_objects = x.m_objects;

    return *this;
}

DDS_Objects& DDS_Objects::operator =(
        DDS_Objects&& x)
{

    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);

    return *this;
}

size_t DDS_Objects::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < 200; ++a)
    {
        current_alignment += DDS_Object::getMaxCdrSerializedSize(current_alignment);}


    return current_alignment - initial_alignment;
}

size_t DDS_Objects::getCdrSerializedSize(
        const DDS_Objects& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < data.objects().size(); ++a)
    {
        current_alignment += DDS_Object::getCdrSerializedSize(data.objects().at(a), current_alignment);}


    return current_alignment - initial_alignment;
}

void DDS_Objects::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_objects;

}

void DDS_Objects::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_objects;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_Objects::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_Objects::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_Objects::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member objects
 * @param _objects New value to be copied in member objects
 */
void DDS_Objects::objects(
        const std::vector<DDS_Object>& _objects)
{
    m_objects = _objects;
}

/*!
 * @brief This function moves the value in member objects
 * @param _objects New value to be moved in member objects
 */
void DDS_Objects::objects(
        std::vector<DDS_Object>&& _objects)
{
    m_objects = std::move(_objects);
}

/*!
 * @brief This function returns a constant reference to member objects
 * @return Constant reference to member objects
 */
const std::vector<DDS_Object>& DDS_Objects::objects() const
{
    return m_objects;
}

/*!
 * @brief This function returns a reference to member objects
 * @return Reference to member objects
 */
std::vector<DDS_Object>& DDS_Objects::objects()
{
    return m_objects;
}

size_t DDS_Objects::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_Objects::isKeyDefined()
{
    return false;
}

void DDS_Objects::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

DDS_SensorFuseResult::DDS_SensorFuseResult()
{
    // m_object_type com.eprosima.idl.parser.typecode.PrimitiveTypeCode@9597028
    m_object_type = 0;
    // m_detection_type com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6069db50
    m_detection_type = 0;
    // m_object_dist_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4efbca5a
    m_object_dist_long = 0;
    // m_object_dist_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1b7cc17c
    m_object_dist_lat = 0;
    // m_object_vrel_long com.eprosima.idl.parser.typecode.PrimitiveTypeCode@59662a0b
    m_object_vrel_long = 0;
    // m_object_vrel_lat com.eprosima.idl.parser.typecode.PrimitiveTypeCode@77fbd92c
    m_object_vrel_lat = 0;
    // m_object_width com.eprosima.idl.parser.typecode.PrimitiveTypeCode@67c27493
    m_object_width = 0;
    // m_object_height com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1a482e36
    m_object_height = 0;
    // m_object_length com.eprosima.idl.parser.typecode.PrimitiveTypeCode@72967906
    m_object_length = 0;
    // m_yaw_angle com.eprosima.idl.parser.typecode.PrimitiveTypeCode@5b8dfcc1
    m_yaw_angle = 0;

}

DDS_SensorFuseResult::~DDS_SensorFuseResult()
{










}

DDS_SensorFuseResult::DDS_SensorFuseResult(
        const DDS_SensorFuseResult& x)
{
    m_object_type = x.m_object_type;
    m_detection_type = x.m_detection_type;
    m_object_dist_long = x.m_object_dist_long;
    m_object_dist_lat = x.m_object_dist_lat;
    m_object_vrel_long = x.m_object_vrel_long;
    m_object_vrel_lat = x.m_object_vrel_lat;
    m_object_width = x.m_object_width;
    m_object_height = x.m_object_height;
    m_object_length = x.m_object_length;
    m_yaw_angle = x.m_yaw_angle;
}

DDS_SensorFuseResult::DDS_SensorFuseResult(
        DDS_SensorFuseResult&& x)
{
    m_object_type = x.m_object_type;
    m_detection_type = x.m_detection_type;
    m_object_dist_long = x.m_object_dist_long;
    m_object_dist_lat = x.m_object_dist_lat;
    m_object_vrel_long = x.m_object_vrel_long;
    m_object_vrel_lat = x.m_object_vrel_lat;
    m_object_width = x.m_object_width;
    m_object_height = x.m_object_height;
    m_object_length = x.m_object_length;
    m_yaw_angle = x.m_yaw_angle;
}

DDS_SensorFuseResult& DDS_SensorFuseResult::operator =(
        const DDS_SensorFuseResult& x)
{

    m_object_type = x.m_object_type;
    m_detection_type = x.m_detection_type;
    m_object_dist_long = x.m_object_dist_long;
    m_object_dist_lat = x.m_object_dist_lat;
    m_object_vrel_long = x.m_object_vrel_long;
    m_object_vrel_lat = x.m_object_vrel_lat;
    m_object_width = x.m_object_width;
    m_object_height = x.m_object_height;
    m_object_length = x.m_object_length;
    m_yaw_angle = x.m_yaw_angle;

    return *this;
}

DDS_SensorFuseResult& DDS_SensorFuseResult::operator =(
        DDS_SensorFuseResult&& x)
{

    m_object_type = x.m_object_type;
    m_detection_type = x.m_detection_type;
    m_object_dist_long = x.m_object_dist_long;
    m_object_dist_lat = x.m_object_dist_lat;
    m_object_vrel_long = x.m_object_vrel_long;
    m_object_vrel_lat = x.m_object_vrel_lat;
    m_object_width = x.m_object_width;
    m_object_height = x.m_object_height;
    m_object_length = x.m_object_length;
    m_yaw_angle = x.m_yaw_angle;

    return *this;
}

size_t DDS_SensorFuseResult::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

size_t DDS_SensorFuseResult::getCdrSerializedSize(
        const DDS_SensorFuseResult& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);



    return current_alignment - initial_alignment;
}

void DDS_SensorFuseResult::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_object_type;
    scdr << m_detection_type;
    scdr << m_object_dist_long;
    scdr << m_object_dist_lat;
    scdr << m_object_vrel_long;
    scdr << m_object_vrel_lat;
    scdr << m_object_width;
    scdr << m_object_height;
    scdr << m_object_length;
    scdr << m_yaw_angle;

}

void DDS_SensorFuseResult::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_object_type;
    dcdr >> m_detection_type;
    dcdr >> m_object_dist_long;
    dcdr >> m_object_dist_lat;
    dcdr >> m_object_vrel_long;
    dcdr >> m_object_vrel_lat;
    dcdr >> m_object_width;
    dcdr >> m_object_height;
    dcdr >> m_object_length;
    dcdr >> m_yaw_angle;
}

/*!
 * @brief This function sets a value in member object_type
 * @param _object_type New value for member object_type
 */
void DDS_SensorFuseResult::object_type(
        uint32_t _object_type)
{
    m_object_type = _object_type;
}

/*!
 * @brief This function returns the value of member object_type
 * @return Value of member object_type
 */
uint32_t DDS_SensorFuseResult::object_type() const
{
    return m_object_type;
}

/*!
 * @brief This function returns a reference to member object_type
 * @return Reference to member object_type
 */
uint32_t& DDS_SensorFuseResult::object_type()
{
    return m_object_type;
}

/*!
 * @brief This function sets a value in member detection_type
 * @param _detection_type New value for member detection_type
 */
void DDS_SensorFuseResult::detection_type(
        uint32_t _detection_type)
{
    m_detection_type = _detection_type;
}

/*!
 * @brief This function returns the value of member detection_type
 * @return Value of member detection_type
 */
uint32_t DDS_SensorFuseResult::detection_type() const
{
    return m_detection_type;
}

/*!
 * @brief This function returns a reference to member detection_type
 * @return Reference to member detection_type
 */
uint32_t& DDS_SensorFuseResult::detection_type()
{
    return m_detection_type;
}

/*!
 * @brief This function sets a value in member object_dist_long
 * @param _object_dist_long New value for member object_dist_long
 */
void DDS_SensorFuseResult::object_dist_long(
        float _object_dist_long)
{
    m_object_dist_long = _object_dist_long;
}

/*!
 * @brief This function returns the value of member object_dist_long
 * @return Value of member object_dist_long
 */
float DDS_SensorFuseResult::object_dist_long() const
{
    return m_object_dist_long;
}

/*!
 * @brief This function returns a reference to member object_dist_long
 * @return Reference to member object_dist_long
 */
float& DDS_SensorFuseResult::object_dist_long()
{
    return m_object_dist_long;
}

/*!
 * @brief This function sets a value in member object_dist_lat
 * @param _object_dist_lat New value for member object_dist_lat
 */
void DDS_SensorFuseResult::object_dist_lat(
        float _object_dist_lat)
{
    m_object_dist_lat = _object_dist_lat;
}

/*!
 * @brief This function returns the value of member object_dist_lat
 * @return Value of member object_dist_lat
 */
float DDS_SensorFuseResult::object_dist_lat() const
{
    return m_object_dist_lat;
}

/*!
 * @brief This function returns a reference to member object_dist_lat
 * @return Reference to member object_dist_lat
 */
float& DDS_SensorFuseResult::object_dist_lat()
{
    return m_object_dist_lat;
}

/*!
 * @brief This function sets a value in member object_vrel_long
 * @param _object_vrel_long New value for member object_vrel_long
 */
void DDS_SensorFuseResult::object_vrel_long(
        float _object_vrel_long)
{
    m_object_vrel_long = _object_vrel_long;
}

/*!
 * @brief This function returns the value of member object_vrel_long
 * @return Value of member object_vrel_long
 */
float DDS_SensorFuseResult::object_vrel_long() const
{
    return m_object_vrel_long;
}

/*!
 * @brief This function returns a reference to member object_vrel_long
 * @return Reference to member object_vrel_long
 */
float& DDS_SensorFuseResult::object_vrel_long()
{
    return m_object_vrel_long;
}

/*!
 * @brief This function sets a value in member object_vrel_lat
 * @param _object_vrel_lat New value for member object_vrel_lat
 */
void DDS_SensorFuseResult::object_vrel_lat(
        float _object_vrel_lat)
{
    m_object_vrel_lat = _object_vrel_lat;
}

/*!
 * @brief This function returns the value of member object_vrel_lat
 * @return Value of member object_vrel_lat
 */
float DDS_SensorFuseResult::object_vrel_lat() const
{
    return m_object_vrel_lat;
}

/*!
 * @brief This function returns a reference to member object_vrel_lat
 * @return Reference to member object_vrel_lat
 */
float& DDS_SensorFuseResult::object_vrel_lat()
{
    return m_object_vrel_lat;
}

/*!
 * @brief This function sets a value in member object_width
 * @param _object_width New value for member object_width
 */
void DDS_SensorFuseResult::object_width(
        float _object_width)
{
    m_object_width = _object_width;
}

/*!
 * @brief This function returns the value of member object_width
 * @return Value of member object_width
 */
float DDS_SensorFuseResult::object_width() const
{
    return m_object_width;
}

/*!
 * @brief This function returns a reference to member object_width
 * @return Reference to member object_width
 */
float& DDS_SensorFuseResult::object_width()
{
    return m_object_width;
}

/*!
 * @brief This function sets a value in member object_height
 * @param _object_height New value for member object_height
 */
void DDS_SensorFuseResult::object_height(
        float _object_height)
{
    m_object_height = _object_height;
}

/*!
 * @brief This function returns the value of member object_height
 * @return Value of member object_height
 */
float DDS_SensorFuseResult::object_height() const
{
    return m_object_height;
}

/*!
 * @brief This function returns a reference to member object_height
 * @return Reference to member object_height
 */
float& DDS_SensorFuseResult::object_height()
{
    return m_object_height;
}

/*!
 * @brief This function sets a value in member object_length
 * @param _object_length New value for member object_length
 */
void DDS_SensorFuseResult::object_length(
        float _object_length)
{
    m_object_length = _object_length;
}

/*!
 * @brief This function returns the value of member object_length
 * @return Value of member object_length
 */
float DDS_SensorFuseResult::object_length() const
{
    return m_object_length;
}

/*!
 * @brief This function returns a reference to member object_length
 * @return Reference to member object_length
 */
float& DDS_SensorFuseResult::object_length()
{
    return m_object_length;
}

/*!
 * @brief This function sets a value in member yaw_angle
 * @param _yaw_angle New value for member yaw_angle
 */
void DDS_SensorFuseResult::yaw_angle(
        float _yaw_angle)
{
    m_yaw_angle = _yaw_angle;
}

/*!
 * @brief This function returns the value of member yaw_angle
 * @return Value of member yaw_angle
 */
float DDS_SensorFuseResult::yaw_angle() const
{
    return m_yaw_angle;
}

/*!
 * @brief This function returns a reference to member yaw_angle
 * @return Reference to member yaw_angle
 */
float& DDS_SensorFuseResult::yaw_angle()
{
    return m_yaw_angle;
}


size_t DDS_SensorFuseResult::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;













    return current_align;
}

bool DDS_SensorFuseResult::isKeyDefined()
{
    return false;
}

void DDS_SensorFuseResult::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
              
}

DDS_SensorFuseResults::DDS_SensorFuseResults()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@2f9f7dcf
    m_stamp = 0;
    // m_objects com.eprosima.idl.parser.typecode.SequenceTypeCode@747ddf94


}

DDS_SensorFuseResults::~DDS_SensorFuseResults()
{


}

DDS_SensorFuseResults::DDS_SensorFuseResults(
        const DDS_SensorFuseResults& x)
{
    m_stamp = x.m_stamp;
    m_objects = x.m_objects;
}

DDS_SensorFuseResults::DDS_SensorFuseResults(
        DDS_SensorFuseResults&& x)
{
    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);
}

DDS_SensorFuseResults& DDS_SensorFuseResults::operator =(
        const DDS_SensorFuseResults& x)
{

    m_stamp = x.m_stamp;
    m_objects = x.m_objects;

    return *this;
}

DDS_SensorFuseResults& DDS_SensorFuseResults::operator =(
        DDS_SensorFuseResults&& x)
{

    m_stamp = x.m_stamp;
    m_objects = std::move(x.m_objects);

    return *this;
}

size_t DDS_SensorFuseResults::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < 200; ++a)
    {
        current_alignment += DDS_SensorFuseResult::getMaxCdrSerializedSize(current_alignment);}


    return current_alignment - initial_alignment;
}

size_t DDS_SensorFuseResults::getCdrSerializedSize(
        const DDS_SensorFuseResults& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    for(size_t a = 0; a < data.objects().size(); ++a)
    {
        current_alignment += DDS_SensorFuseResult::getCdrSerializedSize(data.objects().at(a), current_alignment);}


    return current_alignment - initial_alignment;
}

void DDS_SensorFuseResults::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_objects;

}

void DDS_SensorFuseResults::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_objects;
}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_SensorFuseResults::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_SensorFuseResults::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_SensorFuseResults::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member objects
 * @param _objects New value to be copied in member objects
 */
void DDS_SensorFuseResults::objects(
        const std::vector<DDS_SensorFuseResult>& _objects)
{
    m_objects = _objects;
}

/*!
 * @brief This function moves the value in member objects
 * @param _objects New value to be moved in member objects
 */
void DDS_SensorFuseResults::objects(
        std::vector<DDS_SensorFuseResult>&& _objects)
{
    m_objects = std::move(_objects);
}

/*!
 * @brief This function returns a constant reference to member objects
 * @return Constant reference to member objects
 */
const std::vector<DDS_SensorFuseResult>& DDS_SensorFuseResults::objects() const
{
    return m_objects;
}

/*!
 * @brief This function returns a reference to member objects
 * @return Reference to member objects
 */
std::vector<DDS_SensorFuseResult>& DDS_SensorFuseResults::objects()
{
    return m_objects;
}

size_t DDS_SensorFuseResults::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;





    return current_align;
}

bool DDS_SensorFuseResults::isKeyDefined()
{
    return false;
}

void DDS_SensorFuseResults::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
      
}

FaultFromPerceptionInfo::FaultFromPerceptionInfo()
{
    // m_SPN com.eprosima.idl.parser.typecode.PrimitiveTypeCode@35e2d654
    m_SPN = 0;
    // m_FMI com.eprosima.idl.parser.typecode.PrimitiveTypeCode@1bd4fdd
    m_FMI = 0;
    // m_FaultLevel com.eprosima.idl.parser.typecode.PrimitiveTypeCode@55183b20
    m_FaultLevel = 0;
    // m_exist com.eprosima.idl.parser.typecode.PrimitiveTypeCode@4f83df68
    m_exist = 0;

}

FaultFromPerceptionInfo::~FaultFromPerceptionInfo()
{




}

FaultFromPerceptionInfo::FaultFromPerceptionInfo(
        const FaultFromPerceptionInfo& x)
{
    m_SPN = x.m_SPN;
    m_FMI = x.m_FMI;
    m_FaultLevel = x.m_FaultLevel;
    m_exist = x.m_exist;
}

FaultFromPerceptionInfo::FaultFromPerceptionInfo(
        FaultFromPerceptionInfo&& x)
{
    m_SPN = x.m_SPN;
    m_FMI = x.m_FMI;
    m_FaultLevel = x.m_FaultLevel;
    m_exist = x.m_exist;
}

FaultFromPerceptionInfo& FaultFromPerceptionInfo::operator =(
        const FaultFromPerceptionInfo& x)
{

    m_SPN = x.m_SPN;
    m_FMI = x.m_FMI;
    m_FaultLevel = x.m_FaultLevel;
    m_exist = x.m_exist;

    return *this;
}

FaultFromPerceptionInfo& FaultFromPerceptionInfo::operator =(
        FaultFromPerceptionInfo&& x)
{

    m_SPN = x.m_SPN;
    m_FMI = x.m_FMI;
    m_FaultLevel = x.m_FaultLevel;
    m_exist = x.m_exist;

    return *this;
}

size_t FaultFromPerceptionInfo::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

size_t FaultFromPerceptionInfo::getCdrSerializedSize(
        const FaultFromPerceptionInfo& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4);


    current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1);



    return current_alignment - initial_alignment;
}

void FaultFromPerceptionInfo::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_SPN;
    scdr << m_FMI;
    scdr << m_FaultLevel;
    scdr << m_exist;

}

void FaultFromPerceptionInfo::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_SPN;
    dcdr >> m_FMI;
    dcdr >> m_FaultLevel;
    dcdr >> m_exist;
}

/*!
 * @brief This function sets a value in member SPN
 * @param _SPN New value for member SPN
 */
void FaultFromPerceptionInfo::SPN(
        uint32_t _SPN)
{
    m_SPN = _SPN;
}

/*!
 * @brief This function returns the value of member SPN
 * @return Value of member SPN
 */
uint32_t FaultFromPerceptionInfo::SPN() const
{
    return m_SPN;
}

/*!
 * @brief This function returns a reference to member SPN
 * @return Reference to member SPN
 */
uint32_t& FaultFromPerceptionInfo::SPN()
{
    return m_SPN;
}

/*!
 * @brief This function sets a value in member FMI
 * @param _FMI New value for member FMI
 */
void FaultFromPerceptionInfo::FMI(
        uint32_t _FMI)
{
    m_FMI = _FMI;
}

/*!
 * @brief This function returns the value of member FMI
 * @return Value of member FMI
 */
uint32_t FaultFromPerceptionInfo::FMI() const
{
    return m_FMI;
}

/*!
 * @brief This function returns a reference to member FMI
 * @return Reference to member FMI
 */
uint32_t& FaultFromPerceptionInfo::FMI()
{
    return m_FMI;
}

/*!
 * @brief This function sets a value in member FaultLevel
 * @param _FaultLevel New value for member FaultLevel
 */
void FaultFromPerceptionInfo::FaultLevel(
        uint32_t _FaultLevel)
{
    m_FaultLevel = _FaultLevel;
}

/*!
 * @brief This function returns the value of member FaultLevel
 * @return Value of member FaultLevel
 */
uint32_t FaultFromPerceptionInfo::FaultLevel() const
{
    return m_FaultLevel;
}

/*!
 * @brief This function returns a reference to member FaultLevel
 * @return Reference to member FaultLevel
 */
uint32_t& FaultFromPerceptionInfo::FaultLevel()
{
    return m_FaultLevel;
}

/*!
 * @brief This function sets a value in member exist
 * @param _exist New value for member exist
 */
void FaultFromPerceptionInfo::exist(
        bool _exist)
{
    m_exist = _exist;
}

/*!
 * @brief This function returns the value of member exist
 * @return Value of member exist
 */
bool FaultFromPerceptionInfo::exist() const
{
    return m_exist;
}

/*!
 * @brief This function returns a reference to member exist
 * @return Reference to member exist
 */
bool& FaultFromPerceptionInfo::exist()
{
    return m_exist;
}


size_t FaultFromPerceptionInfo::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;







    return current_align;
}

bool FaultFromPerceptionInfo::isKeyDefined()
{
    return false;
}

void FaultFromPerceptionInfo::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
        
}

DDS_PS_Online_Status::DDS_PS_Online_Status()
{
    // m_stamp com.eprosima.idl.parser.typecode.PrimitiveTypeCode@6cf0e0ba
    m_stamp = 0;
    // m_lidar_state_ com.eprosima.idl.parser.typecode.ArrayTypeCode@7d8995e
    memset(&m_lidar_state_, 0, (4) * 2);
    // m_radar_state_ com.eprosima.idl.parser.typecode.ArrayTypeCode@130d63be
    memset(&m_radar_state_, 0, (4) * 2);
    // m_camera_state_ com.eprosima.idl.parser.typecode.ArrayTypeCode@42a48628
    memset(&m_camera_state_, 0, (2) * 2);

}

DDS_PS_Online_Status::~DDS_PS_Online_Status()
{




}

DDS_PS_Online_Status::DDS_PS_Online_Status(
        const DDS_PS_Online_Status& x)
{
    m_stamp = x.m_stamp;
    m_lidar_state_ = x.m_lidar_state_;
    m_radar_state_ = x.m_radar_state_;
    m_camera_state_ = x.m_camera_state_;
}

DDS_PS_Online_Status::DDS_PS_Online_Status(
        DDS_PS_Online_Status&& x)
{
    m_stamp = x.m_stamp;
    m_lidar_state_ = std::move(x.m_lidar_state_);
    m_radar_state_ = std::move(x.m_radar_state_);
    m_camera_state_ = std::move(x.m_camera_state_);
}

DDS_PS_Online_Status& DDS_PS_Online_Status::operator =(
        const DDS_PS_Online_Status& x)
{

    m_stamp = x.m_stamp;
    m_lidar_state_ = x.m_lidar_state_;
    m_radar_state_ = x.m_radar_state_;
    m_camera_state_ = x.m_camera_state_;

    return *this;
}

DDS_PS_Online_Status& DDS_PS_Online_Status::operator =(
        DDS_PS_Online_Status&& x)
{

    m_stamp = x.m_stamp;
    m_lidar_state_ = std::move(x.m_lidar_state_);
    m_radar_state_ = std::move(x.m_radar_state_);
    m_camera_state_ = std::move(x.m_camera_state_);

    return *this;
}

size_t DDS_PS_Online_Status::getMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    current_alignment += ((4) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);


    current_alignment += ((4) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);


    current_alignment += ((2) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);



    return current_alignment - initial_alignment;
}

size_t DDS_PS_Online_Status::getCdrSerializedSize(
        const DDS_PS_Online_Status& data,
        size_t current_alignment)
{
    (void)data;
    size_t initial_alignment = current_alignment;


    current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8);


    if ((4) > 0)
    {
        current_alignment += ((4) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);
    }

    if ((4) > 0)
    {
        current_alignment += ((4) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);
    }

    if ((2) > 0)
    {
        current_alignment += ((2) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2);
    }


    return current_alignment - initial_alignment;
}

void DDS_PS_Online_Status::serialize(
        eprosima::fastcdr::Cdr& scdr) const
{

    scdr << m_stamp;
    scdr << m_lidar_state_;

    scdr << m_radar_state_;

    scdr << m_camera_state_;


}

void DDS_PS_Online_Status::deserialize(
        eprosima::fastcdr::Cdr& dcdr)
{

    dcdr >> m_stamp;
    dcdr >> m_lidar_state_;

    dcdr >> m_radar_state_;

    dcdr >> m_camera_state_;

}

/*!
 * @brief This function sets a value in member stamp
 * @param _stamp New value for member stamp
 */
void DDS_PS_Online_Status::stamp(
        int64_t _stamp)
{
    m_stamp = _stamp;
}

/*!
 * @brief This function returns the value of member stamp
 * @return Value of member stamp
 */
int64_t DDS_PS_Online_Status::stamp() const
{
    return m_stamp;
}

/*!
 * @brief This function returns a reference to member stamp
 * @return Reference to member stamp
 */
int64_t& DDS_PS_Online_Status::stamp()
{
    return m_stamp;
}

/*!
 * @brief This function copies the value in member lidar_state_
 * @param _lidar_state_ New value to be copied in member lidar_state_
 */
void DDS_PS_Online_Status::lidar_state_(
        const std::array<int16_t, 4>& _lidar_state_)
{
    m_lidar_state_ = _lidar_state_;
}

/*!
 * @brief This function moves the value in member lidar_state_
 * @param _lidar_state_ New value to be moved in member lidar_state_
 */
void DDS_PS_Online_Status::lidar_state_(
        std::array<int16_t, 4>&& _lidar_state_)
{
    m_lidar_state_ = std::move(_lidar_state_);
}

/*!
 * @brief This function returns a constant reference to member lidar_state_
 * @return Constant reference to member lidar_state_
 */
const std::array<int16_t, 4>& DDS_PS_Online_Status::lidar_state_() const
{
    return m_lidar_state_;
}

/*!
 * @brief This function returns a reference to member lidar_state_
 * @return Reference to member lidar_state_
 */
std::array<int16_t, 4>& DDS_PS_Online_Status::lidar_state_()
{
    return m_lidar_state_;
}
/*!
 * @brief This function copies the value in member radar_state_
 * @param _radar_state_ New value to be copied in member radar_state_
 */
void DDS_PS_Online_Status::radar_state_(
        const std::array<int16_t, 4>& _radar_state_)
{
    m_radar_state_ = _radar_state_;
}

/*!
 * @brief This function moves the value in member radar_state_
 * @param _radar_state_ New value to be moved in member radar_state_
 */
void DDS_PS_Online_Status::radar_state_(
        std::array<int16_t, 4>&& _radar_state_)
{
    m_radar_state_ = std::move(_radar_state_);
}

/*!
 * @brief This function returns a constant reference to member radar_state_
 * @return Constant reference to member radar_state_
 */
const std::array<int16_t, 4>& DDS_PS_Online_Status::radar_state_() const
{
    return m_radar_state_;
}

/*!
 * @brief This function returns a reference to member radar_state_
 * @return Reference to member radar_state_
 */
std::array<int16_t, 4>& DDS_PS_Online_Status::radar_state_()
{
    return m_radar_state_;
}
/*!
 * @brief This function copies the value in member camera_state_
 * @param _camera_state_ New value to be copied in member camera_state_
 */
void DDS_PS_Online_Status::camera_state_(
        const std::array<int16_t, 2>& _camera_state_)
{
    m_camera_state_ = _camera_state_;
}

/*!
 * @brief This function moves the value in member camera_state_
 * @param _camera_state_ New value to be moved in member camera_state_
 */
void DDS_PS_Online_Status::camera_state_(
        std::array<int16_t, 2>&& _camera_state_)
{
    m_camera_state_ = std::move(_camera_state_);
}

/*!
 * @brief This function returns a constant reference to member camera_state_
 * @return Constant reference to member camera_state_
 */
const std::array<int16_t, 2>& DDS_PS_Online_Status::camera_state_() const
{
    return m_camera_state_;
}

/*!
 * @brief This function returns a reference to member camera_state_
 * @return Reference to member camera_state_
 */
std::array<int16_t, 2>& DDS_PS_Online_Status::camera_state_()
{
    return m_camera_state_;
}

size_t DDS_PS_Online_Status::getKeyMaxCdrSerializedSize(
        size_t current_alignment)
{
    size_t current_align = current_alignment;







    return current_align;
}

bool DDS_PS_Online_Status::isKeyDefined()
{
    return false;
}

void DDS_PS_Online_Status::serializeKey(
        eprosima::fastcdr::Cdr& scdr) const
{
    (void) scdr;
        
}
